2
const trigger = () => notify('Here is your Info.');
3
const triggerSuccess = () => notify.success('Here is your success message.');
4
const triggerError = () => notify.error('Here is your error message.');
5
const triggerLoading = () => notify.loading('Here is your error message.');
9
<Button onClick={trigger}>Blank</Button>
10
<Button onClick={triggerSuccess}>Success</Button>
11
<Button onClick={triggerError}>Error</Button>
12
<Button onClick={triggerLoading}>Loading</Button>
14
<Notify position="top-right" />