1
- import * as React from "react"
2
- import * as SelectPrimitive from "@radix-ui/ react-select"
3
- import { Check , ChevronDown , ChevronUp } from "lucide- react"
1
+ import * as SelectPrimitive from "@radix-ui/ react-select" ;
2
+ import { Check , ChevronDown , ChevronUp } from "lucide- react" ;
3
+ import * as React from "react" ;
4
4
5
- import { cn } from "@/lib/utils"
5
+ import { cn } from "@/lib/utils" ;
6
6
7
- const Select = SelectPrimitive . Root
7
+ const Select = SelectPrimitive . Root ;
8
8
9
- const SelectGroup = SelectPrimitive . Group
9
+ const SelectGroup = SelectPrimitive . Group ;
10
10
11
- const SelectValue = SelectPrimitive . Value
11
+ const SelectValue = SelectPrimitive . Value ;
12
12
13
13
const SelectTrigger = React . forwardRef <
14
14
React . ElementRef < typeof SelectPrimitive . Trigger > ,
@@ -27,8 +27,8 @@ const SelectTrigger = React.forwardRef<
27
27
< ChevronDown className = "h-4 w-4 opacity-50" />
28
28
</ SelectPrimitive . Icon >
29
29
</ SelectPrimitive . Trigger >
30
- ) )
31
- SelectTrigger . displayName = SelectPrimitive . Trigger . displayName
30
+ ) ) ;
31
+ SelectTrigger . displayName = SelectPrimitive . Trigger . displayName ;
32
32
33
33
const SelectScrollUpButton = React . forwardRef <
34
34
React . ElementRef < typeof SelectPrimitive . ScrollUpButton > ,
@@ -44,8 +44,8 @@ const SelectScrollUpButton = React.forwardRef<
44
44
>
45
45
< ChevronUp className = "h-4 w-4" />
46
46
</ SelectPrimitive . ScrollUpButton >
47
- ) )
48
- SelectScrollUpButton . displayName = SelectPrimitive . ScrollUpButton . displayName
47
+ ) ) ;
48
+ SelectScrollUpButton . displayName = SelectPrimitive . ScrollUpButton . displayName ;
49
49
50
50
const SelectScrollDownButton = React . forwardRef <
51
51
React . ElementRef < typeof SelectPrimitive . ScrollDownButton > ,
@@ -61,9 +61,9 @@ const SelectScrollDownButton = React.forwardRef<
61
61
>
62
62
< ChevronDown className = "h-4 w-4" />
63
63
</ SelectPrimitive . ScrollDownButton >
64
- ) )
64
+ ) ) ;
65
65
SelectScrollDownButton . displayName =
66
- SelectPrimitive . ScrollDownButton . displayName
66
+ SelectPrimitive . ScrollDownButton . displayName ;
67
67
68
68
const SelectContent = React . forwardRef <
69
69
React . ElementRef < typeof SelectPrimitive . Content > ,
@@ -94,8 +94,8 @@ const SelectContent = React.forwardRef<
94
94
< SelectScrollDownButton />
95
95
</ SelectPrimitive . Content >
96
96
</ SelectPrimitive . Portal >
97
- ) )
98
- SelectContent . displayName = SelectPrimitive . Content . displayName
97
+ ) ) ;
98
+ SelectContent . displayName = SelectPrimitive . Content . displayName ;
99
99
100
100
const SelectLabel = React . forwardRef <
101
101
React . ElementRef < typeof SelectPrimitive . Label > ,
@@ -106,8 +106,8 @@ const SelectLabel = React.forwardRef<
106
106
className = { cn ( "px-2 py-1.5 text-sm font-semibold" , className ) }
107
107
{ ...props }
108
108
/>
109
- ) )
110
- SelectLabel . displayName = SelectPrimitive . Label . displayName
109
+ ) ) ;
110
+ SelectLabel . displayName = SelectPrimitive . Label . displayName ;
111
111
112
112
const SelectItem = React . forwardRef <
113
113
React . ElementRef < typeof SelectPrimitive . Item > ,
@@ -128,8 +128,8 @@ const SelectItem = React.forwardRef<
128
128
</ span >
129
129
< SelectPrimitive . ItemText > { children } </ SelectPrimitive . ItemText >
130
130
</ SelectPrimitive . Item >
131
- ) )
132
- SelectItem . displayName = SelectPrimitive . Item . displayName
131
+ ) ) ;
132
+ SelectItem . displayName = SelectPrimitive . Item . displayName ;
133
133
134
134
const SelectSeparator = React . forwardRef <
135
135
React . ElementRef < typeof SelectPrimitive . Separator > ,
@@ -140,8 +140,8 @@ const SelectSeparator = React.forwardRef<
140
140
className = { cn ( "-mx-1 my-1 h-px bg-muted" , className ) }
141
141
{ ...props }
142
142
/>
143
- ) )
144
- SelectSeparator . displayName = SelectPrimitive . Separator . displayName
143
+ ) ) ;
144
+ SelectSeparator . displayName = SelectPrimitive . Separator . displayName ;
145
145
146
146
export {
147
147
Select ,
@@ -154,4 +154,4 @@ export {
154
154
SelectSeparator ,
155
155
SelectScrollUpButton ,
156
156
SelectScrollDownButton ,
157
- }
157
+ } ;
0 commit comments