Allow styling of Select modal with className prop
This commit is contained in:
parent
af72980d6b
commit
a72cb9b508
1 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ const Select = React.forwardRef<HTMLButtonElement, Props>(function Select(
|
|||
)}
|
||||
</RadixSelect.Trigger>
|
||||
|
||||
<RadixSelect.Portal className="Select">
|
||||
<RadixSelect.Portal className="SelectPortal">
|
||||
<>
|
||||
<Overlay
|
||||
open={open}
|
||||
|
|
@ -101,7 +101,7 @@ const Select = React.forwardRef<HTMLButtonElement, Props>(function Select(
|
|||
/>
|
||||
|
||||
<RadixSelect.Content
|
||||
className="Select"
|
||||
className={classNames({ Select: true }, props.className)}
|
||||
position="popper"
|
||||
sideOffset={6}
|
||||
onCloseAutoFocus={onCloseAutoFocus}
|
||||
|
|
|
|||
Loading…
Reference in a new issue