0.1.0 • Published 2 years ago
@logo-rn/logo-alert v0.1.0
@logo-rn/logo-alert
allows user to launch an alert dialog with the specified title and message.
Installation
Install the component:
npm i @logo-rn/logo-alert -s
Usage
Once installed, import the component in your application:
import {LogoAlert} from '@logo-rn/logo-alert';
const [visible, setVisible] = React.useState(false);
//...
<LogoAlert
visible={visible}
close={() => setVisible(false)}
title={“Title”}
/>