SonnerExpandConfig() — supabase Function Reference
Architecture documentation for the SonnerExpandConfig() function in sonner-expand-config.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD c56ea202_a864_7319_de29_e16e21b28dce["SonnerExpandConfig()"] 7f5e411e_7cf4_eced_8892_c042ff271b21["useConfig()"] c56ea202_a864_7319_de29_e16e21b28dce -->|calls| 7f5e411e_7cf4_eced_8892_c042ff271b21 style c56ea202_a864_7319_de29_e16e21b28dce fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/design-system/components/sonner-expand-config.tsx lines 6–36
function SonnerExpandConfig() {
const [config, setConfig] = useConfig()
return (
<div className="px-5 py-5 border rounded-lg my-2 bg-surface-75">
<form>
<FormItemLayout
name="sonnerExpand"
id="sonnerExpand"
isReactForm={false}
label="Use expand prop"
description="You will need to fire a few Sonner toasts first"
layout="flex"
>
<Switch
name="sonnerExpand"
id="sonnerExpand"
size="large"
checked={config.sonnerExpand}
onCheckedChange={(e) =>
setConfig({
...config,
sonnerExpand: e,
})
}
/>
</FormItemLayout>
</form>
</div>
)
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does SonnerExpandConfig() do?
SonnerExpandConfig() is a function in the supabase codebase.
What does SonnerExpandConfig() call?
SonnerExpandConfig() calls 1 function(s): useConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free