Skip to content

Commit 4f2db95

Browse files
committed
feat: add checkbox__parent-container on select picker option
1 parent 64f885c commit 4f2db95

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Shared/Components/SelectPicker/SelectPicker.component.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,11 @@ const SelectPicker = <OptionValue, IsMulti extends boolean>({
417417
classNames={{
418418
control: () =>
419419
deriveBorderRadiusAndBorderClassFromConfig({ borderConfig, borderRadiusConfig }),
420+
...(isMulti
421+
? {
422+
option: () => 'checkbox__parent-container',
423+
}
424+
: {}),
420425
}}
421426
name={name || inputId}
422427
classNamePrefix={classNamePrefix || inputId}

0 commit comments

Comments
 (0)