@logo-rn/logo-dialog
v0.2.7
Published
<LogoDialog/> allows user to take actions on a modal.
Downloads
11
Readme
@logo-rn/logo-dialog
allows user to take actions on a modal.
Installation
Install the component:
npm i @logo-rn/logo-dialog -s
Usage
Once installed, import the component in your application:
import {LogoDialog} from '@logo-rn/logo-dialog';
const [visible, setVisible] = React.useState(false);
//...
<LogoDialog
visibility={visible}
headerText="Header"
id="dialog">
<Text>Body of the dialog</Text>
</LogoDialog>