From 00646cd845c7ba296159c4d392ffe3b54eb92f28 Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Dall'Agnol Date: Fri, 4 Nov 2022 21:20:18 -0300 Subject: [PATCH] feat: Update fontVariant supported types docs (#3378) --- 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 | `[]` | ---