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.Trigger>
|
||||||
|
|
||||||
<RadixSelect.Portal className="Select">
|
<RadixSelect.Portal className="SelectPortal">
|
||||||
<>
|
<>
|
||||||
<Overlay
|
<Overlay
|
||||||
open={open}
|
open={open}
|
||||||
|
|
@ -101,7 +101,7 @@ const Select = React.forwardRef<HTMLButtonElement, Props>(function Select(
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<RadixSelect.Content
|
<RadixSelect.Content
|
||||||
className="Select"
|
className={classNames({ Select: true }, props.className)}
|
||||||
position="popper"
|
position="popper"
|
||||||
sideOffset={6}
|
sideOffset={6}
|
||||||
onCloseAutoFocus={onCloseAutoFocus}
|
onCloseAutoFocus={onCloseAutoFocus}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue