StatusList() — ui Function Reference
Architecture documentation for the StatusList() function in combobox-responsive.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD af54d507_5faf_da32_0c04_565159b3709d["StatusList()"] 6384363c_be61_8862_639f_4d8ae139f2b0["combobox-responsive.tsx"] af54d507_5faf_da32_0c04_565159b3709d -->|defined in| 6384363c_be61_8862_639f_4d8ae139f2b0 style af54d507_5faf_da32_0c04_565159b3709d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/examples/combobox-responsive.tsx lines 92–123
function StatusList({
setOpen,
setSelectedStatus,
}: {
setOpen: (open: boolean) => void
setSelectedStatus: (status: Status | null) => void
}) {
return (
<Command>
<CommandInput placeholder="Filter status..." />
<CommandList>
<CommandEmpty>No results found.</CommandEmpty>
<CommandGroup>
{statuses.map((status) => (
<CommandItem
key={status.value}
value={status.value}
onSelect={(value) => {
setSelectedStatus(
statuses.find((priority) => priority.value === value) || null
)
setOpen(false)
}}
>
{status.label}
</CommandItem>
))}
</CommandGroup>
</CommandList>
</Command>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does StatusList() do?
StatusList() is a function in the ui codebase, defined in deprecated/www/registry/default/examples/combobox-responsive.tsx.
Where is StatusList() defined?
StatusList() is defined in deprecated/www/registry/default/examples/combobox-responsive.tsx at line 92.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free