Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork37
The true native bottom sheet experience 💩
License
NotificationsYou must be signed in to change notification settings
lodev09/react-native-true-sheet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The true native bottom sheet experience for your React Native Apps. 💩
- Implemented in the native realm.
- Clean, fast, and lightweight.
- Asynchronus
ref
methods. - Bonus!Blur support on IOS 😎
You can install the package by using eitheryarn
ornpm
.
yarn add @lodev09/react-native-true-sheet
npm i @lodev09/react-native-true-sheet
Next, run the following to install it on IOS.
cd ios&& pod install
import{TrueSheet}from"@lodev09/react-native-true-sheet"exportconstApp=()=>{constsheet=useRef<TrueSheet>(null)// Present the sheet ✅constpresent=async()=>{awaitsheet.current?.present()console.log('horray! sheet has been presented 💩')}// Dismiss the sheet ✅constdismiss=async()=>{awaitsheet.current?.dismiss()console.log('Bye bye 👋')}return(<View><ButtononPress={present}title="Present"/><TrueSheetref={sheet}sizes={['auto','large']}cornerRadius={24}><ButtononPress={dismiss}title="Dismiss"/></TrueSheet></View>)}
See thecontributing guide to learn how to contribute to the repository and the development workflow.
Made with ❤️ by@lodev09
About
The true native bottom sheet experience 💩
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.