Skip to content

Commit

Permalink
Replace isSmall prop #53560 (#59302)
Browse files Browse the repository at this point in the history
Co-authored-by: inc2734 <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: skorasaurus <[email protected]>
Co-authored-by: fabiankaegy <[email protected]>
Co-authored-by: jaclync <[email protected]>
  • Loading branch information
6 people authored Mar 9, 2024
1 parent 3b42812 commit 4d9a27e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function SidesDropdown( {
icon={ sideIcon }
label={ labelProp }
className="spacing-sizes-control__dropdown"
toggleProps={ { isSmall: true } }
toggleProps={ { size: 'small' } }
>
{ ( { onClose } ) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/palette-edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ export function PaletteEdit( {
: __( 'Color options' )
}
toggleProps={ {
isSmall: true,
size: 'small',
} }
>
{ ( { onClose }: { onClose: () => void } ) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const ToolsPanelHeader = (
label={ dropDownMenuLabelText }
menuProps={ { className: dropdownMenuClassName } }
toggleProps={ {
isSmall: true,
size: 'small',
describedBy: dropdownMenuDescriptionText,
} }
>
Expand Down

0 comments on commit 4d9a27e

Please sign in to comment.