Class
useNotice
useNotice
Hook which allows you to add notice message to the app.
import { useNotice, Button } from 'adminjs'
const myComponent = () => {
const sendNotice = useNotice()
render (
<Button onClick={() => sendNotice({ message: 'I am awesome' })}>I am awesome</Button>
)
}