├── .eslintrc.js ├── .github └── workflows │ └── build.yml ├── .gitignore ├── .prettierrc ├── .vscode └── settings.json ├── Makefile ├── README.md ├── docs └── demo.gif ├── example ├── .buckconfig ├── .eslintrc.js ├── .gitattributes ├── .gitignore ├── .prettierrc.js ├── .watchmanconfig ├── App.tsx ├── __tests__ │ └── App-test.tsx ├── android │ ├── app │ │ ├── _BUCK │ │ ├── build.gradle │ │ ├── build_defs.bzl │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── 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 ├── index.js ├── ios │ ├── Podfile │ ├── Podfile.lock │ ├── example-tvOS │ │ └── Info.plist │ ├── example-tvOSTests │ │ └── Info.plist │ ├── example.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── example-tvOS.xcscheme │ │ │ └── example.xcscheme │ ├── example.xcworkspace │ │ └── contents.xcworkspacedata │ ├── example │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── exampleTests │ │ ├── Info.plist │ │ └── exampleTests.m ├── metro.config.js ├── package-lock.json ├── package.json ├── src │ └── my-banners.tsx └── tsconfig.json ├── flow.sh ├── index.ts ├── package.json ├── src ├── toast-banner-component.tsx ├── toast-banner-container.tsx └── types.ts └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | node_modules/ 6 | lib/ -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.formatOnSave": true 3 | } 4 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/README.md -------------------------------------------------------------------------------- /docs/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/docs/demo.gif -------------------------------------------------------------------------------- /example/.buckconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/.buckconfig -------------------------------------------------------------------------------- /example/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/.eslintrc.js -------------------------------------------------------------------------------- /example/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/.prettierrc.js -------------------------------------------------------------------------------- /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /example/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/App.tsx -------------------------------------------------------------------------------- /example/__tests__/App-test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/__tests__/App-test.tsx -------------------------------------------------------------------------------- /example/android/app/_BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/_BUCK -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/build.gradle -------------------------------------------------------------------------------- /example/android/app/build_defs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/build_defs.bzl -------------------------------------------------------------------------------- /example/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/debug.keystore -------------------------------------------------------------------------------- /example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/java/com/example/MainActivity.java -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/java/com/example/MainApplication.java -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/build.gradle -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/gradle.properties -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/gradlew -------------------------------------------------------------------------------- /example/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/gradlew.bat -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/android/settings.gradle -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/app.json -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/index.js -------------------------------------------------------------------------------- /example/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/Podfile -------------------------------------------------------------------------------- /example/ios/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/Podfile.lock -------------------------------------------------------------------------------- /example/ios/example-tvOS/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example-tvOS/Info.plist -------------------------------------------------------------------------------- /example/ios/example-tvOSTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example-tvOSTests/Info.plist -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example-tvOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example.xcodeproj/xcshareddata/xcschemes/example-tvOS.xcscheme -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme -------------------------------------------------------------------------------- /example/ios/example.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example/AppDelegate.h -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example/AppDelegate.m -------------------------------------------------------------------------------- /example/ios/example/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example/Base.lproj/LaunchScreen.xib -------------------------------------------------------------------------------- /example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /example/ios/example/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /example/ios/example/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example/Info.plist -------------------------------------------------------------------------------- /example/ios/example/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/example/main.m -------------------------------------------------------------------------------- /example/ios/exampleTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/exampleTests/Info.plist -------------------------------------------------------------------------------- /example/ios/exampleTests/exampleTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/ios/exampleTests/exampleTests.m -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/package-lock.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/package.json -------------------------------------------------------------------------------- /example/src/my-banners.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/src/my-banners.tsx -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /flow.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/flow.sh -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/package.json -------------------------------------------------------------------------------- /src/toast-banner-component.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/src/toast-banner-component.tsx -------------------------------------------------------------------------------- /src/toast-banner-container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/src/toast-banner-container.tsx -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benevbright/react-native-toast-banner/HEAD/tsconfig.json --------------------------------------------------------------------------------