mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 03:45:06 +03:00
Sorted all imports in all packages, `cms`, `design-system` and `ui-library` apps by running `pnpm format` on them. All changes in this PR are done by the script.
35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import { Field, FieldDescription, FieldLabel } from 'ui/src/components/shadcn/ui/field'
|
|
import {
|
|
Select,
|
|
SelectContent,
|
|
SelectItem,
|
|
SelectTrigger,
|
|
SelectValue,
|
|
} from 'ui/src/components/shadcn/ui/select'
|
|
|
|
export default function FieldSelect() {
|
|
return (
|
|
<div className="w-full max-w-md">
|
|
<Field>
|
|
<FieldLabel>Department</FieldLabel>
|
|
<Select>
|
|
<SelectTrigger>
|
|
<SelectValue placeholder="Choose department" />
|
|
</SelectTrigger>
|
|
<SelectContent>
|
|
<SelectItem value="engineering">Engineering</SelectItem>
|
|
<SelectItem value="design">Design</SelectItem>
|
|
<SelectItem value="marketing">Marketing</SelectItem>
|
|
<SelectItem value="sales">Sales</SelectItem>
|
|
<SelectItem value="support">Customer Support</SelectItem>
|
|
<SelectItem value="hr">Human Resources</SelectItem>
|
|
<SelectItem value="finance">Finance</SelectItem>
|
|
<SelectItem value="operations">Operations</SelectItem>
|
|
</SelectContent>
|
|
</Select>
|
|
<FieldDescription>Select your department or area of work.</FieldDescription>
|
|
</Field>
|
|
</div>
|
|
)
|
|
}
|