MCPcopy Create free account
hub / github.com/arctic-cli/interface / ToastRoot

Function ToastRoot

packages/ui/src/components/toast.tsx:27–38  ·  view source on GitHub ↗
(props: ToastRootComponentProps)

Source from the content-addressed store, hash-verified

25}
26
27function ToastRoot(props: ToastRootComponentProps) {
28 return (
29 <Kobalte
30 data-component="toast"
31 classList={{
32 ...(props.classList ?? {}),
33 [props.class ?? ""]: !!props.class,
34 }}
35 {...props}
36 />
37 )
38}
39
40function ToastIcon(props: { name: IconProps["name"] }) {
41 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected