{"name":"toast-gooey-types","type":"registry:ui","files":[{"path":"toast-gooey-types.ts","type":"registry:ui","content":"import type { ReactNode } from \"react\";\n\nexport type GooeyState =\n\t| \"success\"\n\t| \"loading\"\n\t| \"error\"\n\t| \"warning\"\n\t| \"info\"\n\t| \"action\";\n\nexport interface GooeyStyles {\n\ttitle?: string;\n\tdescription?: string;\n\tbadge?: string;\n\tbutton?: string;\n}\n\nexport interface GooeyButton {\n\ttitle: string;\n\tonClick: () => void;\n}\n\nexport const GOOEY_POSITIONS = [\n\t\"top-left\",\n\t\"top-center\",\n\t\"top-right\",\n\t\"bottom-left\",\n\t\"bottom-center\",\n\t\"bottom-right\",\n] as const;\n\nexport type GooeyPosition = (typeof GOOEY_POSITIONS)[number];\n\nexport interface GooeyOptions {\n\ttitle?: string;\n\tdescription?: ReactNode | string;\n\tposition?: GooeyPosition;\n\tduration?: number | null;\n\ticon?: ReactNode | null;\n\tstyles?: GooeyStyles;\n\tfill?: string;\n\troundness?: number;\n\tautopilot?: boolean | { expand?: number; collapse?: number };\n\tbutton?: GooeyButton;\n}","target":"components/ui/toast-gooey-types.ts"}]}