Skip to content

Commit 00646cd

Browse files
feat: Update fontVariant supported types docs (facebook#3378)
1 parent 96f4297 commit 00646cd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/text-style-props.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,11 @@ Set to `false` to remove extra font padding intended to make space for certain a
405405

406406
### `fontVariant`
407407

408-
| Type | Default |
409-
| ---------------------------------------------------------------------------------------------------------- | ------- |
410-
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) | `[]` |
408+
Allows you to set all the font variants for a font. Can be set by using an array of enums or a space-separated string e.g. `'small-caps common-ligatures'`.
409+
410+
| Type | Default |
411+
| -------------------------------------------------------------------------------------------------------------------- | ------- |
412+
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) or string | `[]` |
411413

412414
---
413415

0 commit comments

Comments
 (0)