Components

Integrations

AlertText

AlertText informiert über das Ergebnis einer Aktion, nah an der auslösenden Stelle.GitHubMarkdown

Properties

PropertyTypeDefaultDescription
classNamestring-The elements class name.
childrenReactNode-
wrapWithReactElement<unknown, string | JSXElementConstructor<any>>-A React element the component is wrapped with. The element is cloned and receives the component as its only child — useful to render the component inside a link, a tooltip trigger or any other wrapper without changing the surrounding markup.
refRef<HTMLSpanElement>-Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref). @see React Docs
keyKey-
status"info" | "success" | "warning" | "danger" | "unavailable"-The elements status

Auf dieser Seite