Skip to content

Commit

Permalink
Font Library: Replace deprecated isSmall prop with size="small" prop (#…
Browse files Browse the repository at this point in the history
…59530)

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: matiasbenedetto <mmaattiiaass@git.wordpress.org>
  • Loading branch information
3 people committed Mar 5, 2024
1 parent 9f934bb commit 6519c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function FontCollection( { slug } ) {
<Flex justify="flex-start">
<NavigatorToParentButton
icon={ chevronLeft }
isSmall
size="small"
onClick={ () => {
setSelectedFont( null );
} }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function InstalledFonts() {
<Flex justify="flex-start">
<NavigatorToParentButton
icon={ chevronLeft }
isSmall
size="small"
onClick={ () => {
handleSetLibraryFontSelected( null );
} }
Expand Down

0 comments on commit 6519c52

Please sign in to comment.