AlertActionExample() — ui Function Reference
Architecture documentation for the AlertActionExample() function in alert-action.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b8a0eab3_96c2_a1e5_ebde_061401f8daf0["AlertActionExample()"] 3f6949a4_de34_efd9_44f1_641b8b1ff686["alert-action.tsx"] b8a0eab3_96c2_a1e5_ebde_061401f8daf0 -->|defined in| 3f6949a4_de34_efd9_44f1_641b8b1ff686 style b8a0eab3_96c2_a1e5_ebde_061401f8daf0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/alert-action.tsx lines 9–23
export default function AlertActionExample() {
return (
<Alert className="max-w-md">
<AlertTitle>Dark mode is now available</AlertTitle>
<AlertDescription>
Enable it under your profile settings to get started.
</AlertDescription>
<AlertAction>
<Button size="xs" variant="default">
Enable
</Button>
</AlertAction>
</Alert>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AlertActionExample() do?
AlertActionExample() is a function in the ui codebase, defined in apps/v4/examples/base/alert-action.tsx.
Where is AlertActionExample() defined?
AlertActionExample() is defined in apps/v4/examples/base/alert-action.tsx at line 9.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free