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

Function ToastIcon

packages/ui/src/components/toast.tsx:40–46  ·  view source on GitHub ↗
(props: { name: IconProps["name"] })

Source from the content-addressed store, hash-verified

38}
39
40function ToastIcon(props: { name: IconProps["name"] }) {
41 return (
42 <div data-slot="toast-icon">
43 <Icon name={props.name} />
44 </div>
45 )
46}
47
48function ToastContent(props: ComponentProps<"div">) {
49 return <div data-slot="toast-content" {...props} />

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected