tuil
ReferencePackages@mwillbanks/tuil-inkAPI

Alert

function exported by @mwillbanks/tuil-ink.

View rawEdit

function

Public function exported by @mwillbanks/tuil-ink.

export function Alert({
  tone = "info",
  title,
  children,
  slots,
  slotProps,
  ...props
}: AlertProps): ReactNode;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
{ tone = "info", title, children, slots, slotProps, ...props }AlertPropsYesSupplies the { tone = "info", title, children, slots, slotProps, ...props } value as AlertProps.AlertProps

Returns

ReactNode — Returns a value that satisfies ReactNode.

Related types: —

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ink

On this page