mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
23 lines
486 B
TypeScript
23 lines
486 B
TypeScript
import {
|
|
Select,
|
|
SelectTrigger,
|
|
SelectValue,
|
|
SelectContent,
|
|
SelectItem,
|
|
} from "@lcui/react"
|
|
|
|
export default function Example() {
|
|
return (
|
|
<Select>
|
|
<SelectTrigger>
|
|
<SelectValue placeholder="Choose a theme" />
|
|
</SelectTrigger>
|
|
<SelectContent>
|
|
<SelectItem value="light">Light</SelectItem>
|
|
<SelectItem value="dark">Dark</SelectItem>
|
|
<SelectItem value="system">System</SelectItem>
|
|
</SelectContent>
|
|
</Select>
|
|
)
|
|
}
|