accepts children
import Alert from '@fuzdev/fuz_ui/Alert.svelte'; color?
type
stringoptional
children
type
Snippet<[]>onclick?
type
MouseEventHandler<HTMLElement> & (() => void)optional
status?
type AlertStatus
optional default
'inform'disabled?
type
booleanoptional
icon?
type
string | Snippet<[icon: string]>optional
button_attrs?
Button attributes, applied only when onclick renders the alert as a <button>.
type
HTMLButtonAttributesoptional
div_attrs?
Div attributes, applied only when the alert renders as a <div> (no onclick).
type
HTMLAttributes<HTMLDivElement>optional
intersects
HTMLAttributes<HTMLElement>