components/alert
@fungi.computer/caps / components/alert
components/alert
Section titled “components/alert”Type Aliases
Section titled “Type Aliases”AlertTone
Section titled “AlertTone”AlertTone =
"neutral"|"primary"|"secondary"|"accent"|"success"|"info"|"warning"|"error"
Supported AlertTone values.
AlertProps
Section titled “AlertProps”AlertProps =
object&Omit<HTMLAttributes<HTMLDivElement>>,"title">>
Props accepted by Alert.
Type Declaration
Section titled “Type Declaration”action?
Section titled “action?”
optionalaction?:ReactNode
description?
Section titled “description?”
optionaldescription?:ReactNode
title?
Section titled “title?”
optionaltitle?:ReactNode
optionaltone?:AlertTone
Variables
Section titled “Variables”
constAlert:ForwardRefExoticComponent<object&Omit<HTMLAttributes<HTMLDivElement>>,"title"> > &RefAttributes<HTMLDivElement>>>>
A caller-labelled alert presentation.