1.0.10 • Published 2 years ago

@vygruppen/spor-modal-react-native v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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-native

Usage

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.