@lachuuuk/rn-sheet
v1.0.1
Published
Standalone lightweight bottom sheet for React Native
Maintainers
Readme
@lachuuuk/rn-sheet
A lightweight, standalone bottom sheet for React Native with auto height and stacked sheet support.
No providers.
No native dependencies.
Works out of the box.
Features
- Auto height (content-based)
- Multiple bottom sheets stacked one above another
- Drag down to close
- Tap backdrop to close
- Imperative API (
open,close) - No context / provider required
- Works on iOS and Android
- TypeScript friendly
Installation
npm install @lachuuuk/rn-sheet
## Setup (Required)
Wrap your app once with `PortalHost`:
```tsx
import { PortalHost } from '@lachuuuk/rn-sheet';
export default function App() {
return (
<PortalHost>
<YourApp />
</PortalHost>
);
}