@react-native-blossom-ui/overlays
v0.18.0
Published
Overlays components of Blossom UI
Maintainers
Readme
@react-native-blossom-ui/overlays
Blossom UI Overlays
Blossom UI Overlays offers all the components related to overlays like toast, snackbar, portal, menu etc.
Features
- 📅 Overlay, toast, snackbar etc.
- 🎨 Themeable and customizable
Installation
Install:
yarn add @react-native-blossom-ui/overlaysUsage
Import and use a overlays in your app:
import React from 'react'
import {Button} from '@react-native-blossom-ui/components'
import {useOverlay} from '@react-native-blossom-ui/overlays'
export default function MyScreen() {
const overlay = useOverlay()
return (
<Button
title="Show overlay"
onPress={() =>
overlay.show({
// show props
})
}
/>
)
}Documentation
Full documentation and API reference are available at:
License
This project is licensed under the MIT License.
