Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The true native bottom sheet experience 💩

License

NotificationsYou must be signed in to change notification settings

lodev09/react-native-true-sheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CINPM Downloads

The true native bottom sheet experience for your React Native Apps. 💩

React Native True Sheet - IOSReact Native True Sheet - Android

Features

  • Implemented in the native realm.
  • Clean, fast, and lightweight.
  • Asynchronusrefmethods.
  • Bonus!Blur support on IOS 😎

Installation

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

Documentation

Usage

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>)}

Contributing

See thecontributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with ❤️ by@lodev09


[8]ページ先頭

©2009-2025 Movatter.jp