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

Function ToastRegion

packages/ui/src/components/toast.tsx:11–19  ·  view source on GitHub ↗
(props: ToastRegionProps)

Source from the content-addressed store, hash-verified

9export interface ToastRegionProps extends ComponentProps<typeof Kobalte.Region> {}
10
11function ToastRegion(props: ToastRegionProps) {
12 return (
13 <Portal>
14 <Kobalte.Region data-component="toast-region" {...props}>
15 <Kobalte.List data-slot="toast-list" />
16 </Kobalte.Region>
17 </Portal>
18 )
19}
20
21export interface ToastRootComponentProps extends ToastRootProps {
22 class?: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected