Toast.Components (Toast v0.0.1)
View SourceToast UI components for LiveToast.
Summary
Functions
Renders the container component that can render flash messages as toasts.
Renders an individual toast notification.
Functions
Renders the container component that can render flash messages as toasts.
Attributes
flash
(:map
) - Defaults to%{}
.position
(:string
) - Defaults to"bottom-right"
.theme
(:string
) - Defaults to"light"
.rich_colors
(:boolean
) - Defaults tofalse
.id
(:string
) - Defaults to"toast-group"
.max_toasts
(:integer
) - Defaults tonil
.
Renders an individual toast notification.
Attributes
toast
(Toast
) (required)