Alert.svelte

view source

Declarations
#

Alert
#

Alert.svelte view source

accepts children

import Alert from '@fuzdev/fuz_ui/Alert.svelte';

color?

type string
optional

children

type Snippet<[]>

onclick?

type MouseEventHandler<HTMLElement> & (() => void)
optional

status?

optional default 'inform'

disabled?

type boolean
optional

icon?

type string | Snippet<[icon: string]>
optional

button_attrs?

Button attributes, applied only when onclick renders the alert as a <button>.

type HTMLButtonAttributes
optional

div_attrs?

Div attributes, applied only when the alert renders as a <div> (no onclick).

type HTMLAttributes<HTMLDivElement>
optional

intersects

HTMLAttributes<HTMLElement>

Depends on
#