Skip to content

Commit

Permalink
FontSizePicker: Fix docs for default units (WordPress#63577)
Browse files Browse the repository at this point in the history
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
  • Loading branch information
3 people authored and carstingaxion committed Jul 18, 2024
1 parent 07b286e commit 87cb861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/font-size-picker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Size of the control.
Available units for custom font size selection.

- Required: No
- Default: `[ 'px', 'em', 'rem' ]`
- Default: `[ 'px', 'em', 'rem', 'vw', 'vh' ]`

### `value`: `number | string`

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/font-size-picker/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type FontSizePickerProps = {
/**
* Available units for custom font size selection.
*
* @default `[ 'px', 'em', 'rem' ]`
* @default [ 'px', 'em', 'rem', 'vw', 'vh' ]
*/
units?: string[];
/**
Expand Down

0 comments on commit 87cb861

Please sign in to comment.