Skip to content

yuna5566/react-native-true-sheet

 
 

Repository files navigation

React Native True Sheet

CI GitHub Release NPM Downloads

The true native bottom sheet.

Features

  • ✅ Implemented on the native realm.
  • ✅ NOT your pure JS, (re)animated View.
  • ✅ Clean, fast and lightweight.
  • ✅ Handles your Sscrolling needs, easy.

Installation

yarn add @lodev09/react-native-true-sheet

Usage

import { TrueSheet } from "@lodev09/react-native-true-sheet";

// ...

const sheet = useRef<TrueSheet>(null)

const openSheet = () => {
  sheet.current?.present()
}

return (
  <View>
    <Button onPress={openSheet} title="Open Sheet" />
    <TrueSheet ref={sheet}>
      // ...
    </TrueSheet>
  </View>
)

Options

TODO - laters

Contributing

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

License

MIT


Made with create-react-native-library

About

The true native bottom sheet 💩

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 35.8%
  • TypeScript 27.1%
  • Kotlin 25.0%
  • JavaScript 4.3%
  • Ruby 4.0%
  • Objective-C 2.8%
  • Shell 1.0%