Skip to content

Commit

Permalink
Replace EuiSwitch --mini direct className usage with prop
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Aug 23, 2024
1 parent 1345a42 commit 0936a0c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ export const ItemFilterPopover: FC<ItemFilterPopoverProps> = ({
data-test-subj={`aiopsFieldSelectorFieldNameListItem${
!skippedItems.includes(fieldName) ? ' checked' : ''
}`}
className="euiSwitch--mini"
compressed
mini
label={fieldName}
onChange={(e) => setItemsFilter([fieldName], e.target.checked)}
checked={!skippedItems.includes(fieldName)}
Expand Down

0 comments on commit 0936a0c

Please sign in to comment.