Thanks to visit codestin.com
Credit goes to github.com

Skip to content
7 changes: 5 additions & 2 deletions site/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ export const SelectValue = SelectPrimitive.Value;

export const SelectTrigger = React.forwardRef<
React.ElementRef<typeof SelectPrimitive.Trigger>,
React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>
>(({ className, children, ...props }, ref) => (
React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> & {
id?: string;
}
>(({ className, children, id, ...props }, ref) => (
<SelectPrimitive.Trigger
ref={ref}
id={id}
className={cn(
`flex h-10 w-full font-medium items-center justify-between whitespace-nowrap rounded-md
border border-border border-solid bg-transparent px-3 py-2 text-sm shadow-sm
Expand Down
Loading
Loading