
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@lodev09/react-native-true-sheet
Advanced tools
The true native bottom sheet experience for your React Native Apps.
The true native bottom sheet experience for your React Native Apps. 💩
ref
methods.You can install the package by using either yarn
or npm
.
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"
export const App = () => {
const sheet = useRef<TrueSheet>(null)
// Present the sheet ✅
const present = async () => {
await sheet.current?.present()
console.log('horray! sheet has been presented 💩')
}
// Dismiss the sheet ✅
const dismiss = async () => {
await sheet.current?.dismiss()
console.log('Bye bye 👋')
}
return (
<View>
<Button onPress={present} title="Present" />
<TrueSheet
ref={sheet}
sizes={['auto', 'large']}
cornerRadius={24}
>
<Button onPress={dismiss} title="Dismiss" />
</TrueSheet>
</View>
)
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
Made with ❤️ by @lodev09
FAQs
The true native bottom sheet experience for your React Native Apps.
The npm package @lodev09/react-native-true-sheet receives a total of 4,368 weekly downloads. As such, @lodev09/react-native-true-sheet popularity was classified as popular.
We found that @lodev09/react-native-true-sheet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.