accepts children
import Alert from '@fuzdev/fuz_ui/Alert.svelte'; status?
'inform'color?
stringonclick?
Renders the alert as a <button> when provided.
(MouseEventHandler<HTMLElement>) & (() => void)disabled?
booleanicon?
A decorative icon, hidden from assistive tech: a string, or a snippet given the
status's icon. Defaults to the status's icon, and null or an empty string is none.
string | Snippet<[icon: string]> | nullbutton_attrs?
Button attributes, applied only when onclick renders the alert as a <button>.
HTMLButtonAttributesdiv_attrs?
Div attributes, applied only when the alert renders as a <div> (no onclick).
HTMLAttributes<HTMLDivElement>children
Snippet<[]>external types
HTMLAttributes<HTMLElement>