├── .eslintrc.js ├── .github └── workflows │ ├── release.yml │ └── unit-test.yml ├── .gitignore ├── .prettierrc ├── .vscode └── settings.json ├── .yarn └── releases │ └── yarn-4.11.0.cjs ├── .yarnrc.yml ├── LICENSE ├── README.md ├── babel.config.js ├── demos ├── example1.gif ├── example2.gif ├── example3.gif ├── example4.gif └── example5.gif ├── examples ├── example-bare │ ├── .bundle │ │ └── config │ ├── .gitignore │ ├── .watchmanconfig │ ├── App.tsx │ ├── Gemfile │ ├── android │ │ ├── app │ │ │ ├── build.gradle │ │ │ ├── debug.keystore │ │ │ ├── proguard-rules.pro │ │ │ └── src │ │ │ │ ├── debug │ │ │ │ └── AndroidManifest.xml │ │ │ │ └── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── assets │ │ │ │ └── select_click.mp3 │ │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── examplebare │ │ │ │ │ ├── MainActivity.kt │ │ │ │ │ └── MainApplication.kt │ │ │ │ └── res │ │ │ │ ├── drawable │ │ │ │ └── rn_edit_text_material.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ ├── build.gradle │ │ ├── gradle.properties │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── gradlew │ │ ├── gradlew.bat │ │ └── settings.gradle │ ├── app.json │ ├── babel.config.js │ ├── components │ │ └── CustomButton.tsx │ ├── index.js │ ├── ios │ │ ├── .xcode.env │ │ ├── Podfile │ │ ├── Podfile.lock │ │ ├── exampleBare.xcodeproj │ │ │ ├── project.pbxproj │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── exampleBare.xcscheme │ │ ├── exampleBare.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── exampleBare │ │ │ ├── AppDelegate.swift │ │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ │ ├── Info.plist │ │ │ ├── LaunchScreen.storyboard │ │ │ ├── PrivacyInfo.xcprivacy │ │ │ └── select_click.mp3 │ ├── metro.config.js │ ├── package.json │ ├── tsconfig.json │ └── utils │ │ ├── formatTime.ts │ │ └── getClickSound.ts └── example-expo │ ├── .eslintrc.js │ ├── .gitignore │ ├── App.tsx │ ├── app.json │ ├── assets │ ├── adaptive-icon.png │ ├── favicon.png │ ├── icon.png │ ├── select_click.mp3 │ └── splash.png │ ├── babel.config.js │ ├── components │ └── CustomButton.tsx │ ├── metro.config.js │ ├── package.json │ ├── tsconfig.json │ └── utils │ ├── formatTime.ts │ └── getClickSound.ts ├── jest.config.js ├── package.json ├── src ├── components │ ├── DurationScroll │ │ ├── DurationScroll.tsx │ │ ├── index.ts │ │ └── types.ts │ ├── Modal │ │ ├── Modal.tsx │ │ ├── index.ts │ │ ├── styles.ts │ │ └── types.ts │ ├── TimerPicker │ │ ├── TimerPicker.tsx │ │ ├── index.ts │ │ ├── styles.ts │ │ └── types.ts │ └── TimerPickerModal │ │ ├── TimerPickerModal.tsx │ │ ├── index.ts │ │ ├── styles.ts │ │ └── types.ts ├── index.ts ├── tests │ ├── DurationScroll.test.tsx │ ├── Modal.test.tsx │ ├── TimerPicker.test.tsx │ ├── TimerPickerModal.test.tsx │ ├── __mocks__ │ │ └── expo-linear-gradient.js │ ├── colorToRgba.test.ts │ ├── generateNumbers.test.ts │ ├── getAdjustedLimit.test.ts │ ├── getDurationAndIndexFromScrollOffset.test.ts │ ├── getInitialScrollIndex.test.ts │ ├── getSafeInitialValue.test.ts │ └── padNumber.test.ts └── utils │ ├── colorToRgba.ts │ ├── generateNumbers.ts │ ├── getAdjustedLimit.ts │ ├── getDurationAndIndexFromScrollOffset.ts │ ├── getInitialScrollIndex.ts │ ├── getSafeInitialValue.ts │ └── padNumber.ts ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/unit-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/.github/workflows/unit-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.yarn/releases/yarn-4.11.0.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/.yarn/releases/yarn-4.11.0.cjs -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/babel.config.js -------------------------------------------------------------------------------- /demos/example1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/demos/example1.gif -------------------------------------------------------------------------------- /demos/example2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/demos/example2.gif -------------------------------------------------------------------------------- /demos/example3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/demos/example3.gif -------------------------------------------------------------------------------- /demos/example4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/demos/example4.gif -------------------------------------------------------------------------------- /demos/example5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/demos/example5.gif -------------------------------------------------------------------------------- /examples/example-bare/.bundle/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/.bundle/config -------------------------------------------------------------------------------- /examples/example-bare/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/.gitignore -------------------------------------------------------------------------------- /examples/example-bare/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/example-bare/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/App.tsx -------------------------------------------------------------------------------- /examples/example-bare/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/Gemfile -------------------------------------------------------------------------------- /examples/example-bare/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/build.gradle -------------------------------------------------------------------------------- /examples/example-bare/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/debug.keystore -------------------------------------------------------------------------------- /examples/example-bare/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/assets/select_click.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/assets/select_click.mp3 -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/java/com/examplebare/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/java/com/examplebare/MainActivity.kt -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/java/com/examplebare/MainApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/java/com/examplebare/MainApplication.kt -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/drawable/rn_edit_text_material.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/drawable/rn_edit_text_material.xml -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /examples/example-bare/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /examples/example-bare/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/build.gradle -------------------------------------------------------------------------------- /examples/example-bare/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/gradle.properties -------------------------------------------------------------------------------- /examples/example-bare/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /examples/example-bare/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /examples/example-bare/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/gradlew -------------------------------------------------------------------------------- /examples/example-bare/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/gradlew.bat -------------------------------------------------------------------------------- /examples/example-bare/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/android/settings.gradle -------------------------------------------------------------------------------- /examples/example-bare/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/app.json -------------------------------------------------------------------------------- /examples/example-bare/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/babel.config.js -------------------------------------------------------------------------------- /examples/example-bare/components/CustomButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/components/CustomButton.tsx -------------------------------------------------------------------------------- /examples/example-bare/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/index.js -------------------------------------------------------------------------------- /examples/example-bare/ios/.xcode.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/.xcode.env -------------------------------------------------------------------------------- /examples/example-bare/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/Podfile -------------------------------------------------------------------------------- /examples/example-bare/ios/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/Podfile.lock -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare.xcodeproj/xcshareddata/xcschemes/exampleBare.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare.xcodeproj/xcshareddata/xcschemes/exampleBare.xcscheme -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare/AppDelegate.swift -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare/Info.plist -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare/LaunchScreen.storyboard -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare/PrivacyInfo.xcprivacy -------------------------------------------------------------------------------- /examples/example-bare/ios/exampleBare/select_click.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/ios/exampleBare/select_click.mp3 -------------------------------------------------------------------------------- /examples/example-bare/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/metro.config.js -------------------------------------------------------------------------------- /examples/example-bare/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/package.json -------------------------------------------------------------------------------- /examples/example-bare/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/tsconfig.json -------------------------------------------------------------------------------- /examples/example-bare/utils/formatTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/utils/formatTime.ts -------------------------------------------------------------------------------- /examples/example-bare/utils/getClickSound.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-bare/utils/getClickSound.ts -------------------------------------------------------------------------------- /examples/example-expo/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/.eslintrc.js -------------------------------------------------------------------------------- /examples/example-expo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/.gitignore -------------------------------------------------------------------------------- /examples/example-expo/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/App.tsx -------------------------------------------------------------------------------- /examples/example-expo/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/app.json -------------------------------------------------------------------------------- /examples/example-expo/assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/assets/adaptive-icon.png -------------------------------------------------------------------------------- /examples/example-expo/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/assets/favicon.png -------------------------------------------------------------------------------- /examples/example-expo/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/assets/icon.png -------------------------------------------------------------------------------- /examples/example-expo/assets/select_click.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/assets/select_click.mp3 -------------------------------------------------------------------------------- /examples/example-expo/assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/assets/splash.png -------------------------------------------------------------------------------- /examples/example-expo/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/babel.config.js -------------------------------------------------------------------------------- /examples/example-expo/components/CustomButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/components/CustomButton.tsx -------------------------------------------------------------------------------- /examples/example-expo/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/metro.config.js -------------------------------------------------------------------------------- /examples/example-expo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/package.json -------------------------------------------------------------------------------- /examples/example-expo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/tsconfig.json -------------------------------------------------------------------------------- /examples/example-expo/utils/formatTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/utils/formatTime.ts -------------------------------------------------------------------------------- /examples/example-expo/utils/getClickSound.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/examples/example-expo/utils/getClickSound.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/package.json -------------------------------------------------------------------------------- /src/components/DurationScroll/DurationScroll.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/DurationScroll/DurationScroll.tsx -------------------------------------------------------------------------------- /src/components/DurationScroll/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/DurationScroll/index.ts -------------------------------------------------------------------------------- /src/components/DurationScroll/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/DurationScroll/types.ts -------------------------------------------------------------------------------- /src/components/Modal/Modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/Modal/Modal.tsx -------------------------------------------------------------------------------- /src/components/Modal/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/Modal/index.ts -------------------------------------------------------------------------------- /src/components/Modal/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/Modal/styles.ts -------------------------------------------------------------------------------- /src/components/Modal/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/Modal/types.ts -------------------------------------------------------------------------------- /src/components/TimerPicker/TimerPicker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/TimerPicker/TimerPicker.tsx -------------------------------------------------------------------------------- /src/components/TimerPicker/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/TimerPicker/index.ts -------------------------------------------------------------------------------- /src/components/TimerPicker/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/TimerPicker/styles.ts -------------------------------------------------------------------------------- /src/components/TimerPicker/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/TimerPicker/types.ts -------------------------------------------------------------------------------- /src/components/TimerPickerModal/TimerPickerModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/TimerPickerModal/TimerPickerModal.tsx -------------------------------------------------------------------------------- /src/components/TimerPickerModal/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/TimerPickerModal/index.ts -------------------------------------------------------------------------------- /src/components/TimerPickerModal/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/TimerPickerModal/styles.ts -------------------------------------------------------------------------------- /src/components/TimerPickerModal/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/components/TimerPickerModal/types.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/tests/DurationScroll.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/DurationScroll.test.tsx -------------------------------------------------------------------------------- /src/tests/Modal.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/Modal.test.tsx -------------------------------------------------------------------------------- /src/tests/TimerPicker.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/TimerPicker.test.tsx -------------------------------------------------------------------------------- /src/tests/TimerPickerModal.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/TimerPickerModal.test.tsx -------------------------------------------------------------------------------- /src/tests/__mocks__/expo-linear-gradient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/__mocks__/expo-linear-gradient.js -------------------------------------------------------------------------------- /src/tests/colorToRgba.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/colorToRgba.test.ts -------------------------------------------------------------------------------- /src/tests/generateNumbers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/generateNumbers.test.ts -------------------------------------------------------------------------------- /src/tests/getAdjustedLimit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/getAdjustedLimit.test.ts -------------------------------------------------------------------------------- /src/tests/getDurationAndIndexFromScrollOffset.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/getDurationAndIndexFromScrollOffset.test.ts -------------------------------------------------------------------------------- /src/tests/getInitialScrollIndex.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/getInitialScrollIndex.test.ts -------------------------------------------------------------------------------- /src/tests/getSafeInitialValue.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/getSafeInitialValue.test.ts -------------------------------------------------------------------------------- /src/tests/padNumber.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/tests/padNumber.test.ts -------------------------------------------------------------------------------- /src/utils/colorToRgba.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/utils/colorToRgba.ts -------------------------------------------------------------------------------- /src/utils/generateNumbers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/utils/generateNumbers.ts -------------------------------------------------------------------------------- /src/utils/getAdjustedLimit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/utils/getAdjustedLimit.ts -------------------------------------------------------------------------------- /src/utils/getDurationAndIndexFromScrollOffset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/utils/getDurationAndIndexFromScrollOffset.ts -------------------------------------------------------------------------------- /src/utils/getInitialScrollIndex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/utils/getInitialScrollIndex.ts -------------------------------------------------------------------------------- /src/utils/getSafeInitialValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/utils/getSafeInitialValue.ts -------------------------------------------------------------------------------- /src/utils/padNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/src/utils/padNumber.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/troberts-28/react-native-timer-picker/HEAD/yarn.lock --------------------------------------------------------------------------------