From 3d354f0be41bb539e3db0aff58c90d78956b159d Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Dall'Agnol Date: Wed, 19 Oct 2022 10:59:47 -0300 Subject: [PATCH] feat: Update fontVariant supported types docs --- docs/text-style-props.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/text-style-props.md b/docs/text-style-props.md index ae409ec5df6..ab6404f046b 100644 --- a/docs/text-style-props.md +++ b/docs/text-style-props.md @@ -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 | `[]` | ---