Components
Usage
Snackbars display brief messages about app processes. They appear above other elements and disappear automatically.
import { Snackbar } from "@udixio/ui-react" <Snackbar message="Message sent" /> Auto dismiss
Use duration (ms) to auto-close the snackbar; pass onClose to be notified.
<Snackbar message="Saved" duration={3000} onClose={() => console.log('closed')} /> Custom close icon
Provide a custom FontAwesome icon via closeIcon.