1.0.10 • Published 3 years ago
@vygruppen/spor-modal-react-native v1.0.10
Modal (React Native)
Bottom drawers are modals which lay on top of other content and are always rooted to the bottom of the view.
Installation
$ npm install @vygruppen/spor-modal-react-nativeUsage
import {
SimpleDrawer,
BottomDrawer,
DrawerHeader,
DrawerFooter,
} from "@vygruppen/spor-modal-react-native";<SimpleDrawer /> is a simple drawer with a title and text content. There are three props size, textAlign and title.
<BottomDrawer /> provides more options for customizations. Can import DrawerHeader and DrawerFooter in addition to other Spor-components.
Development
Please refer to the root readme for development notes.