Skip to content

Commit

Permalink
feat: Update fontVariant supported types docs (facebook#3378)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel authored Nov 5, 2022
1 parent 96f4297 commit 00646cd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/text-style-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,11 @@ Set to `false` to remove extra font padding intended to make space for certain a

### `fontVariant`

| Type | Default |
| ---------------------------------------------------------------------------------------------------------- | ------- |
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) | `[]` |
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'`.

| Type | Default |
| -------------------------------------------------------------------------------------------------------------------- | ------- |
| array of enum(`'small-caps'`, `'oldstyle-nums'`, `'lining-nums'`, `'tabular-nums'`, `'proportional-nums'`) or string | `[]` |

---

Expand Down

0 comments on commit 00646cd

Please sign in to comment.