Closed sebastianekstrom closed 1 year ago
When going through the docs one of the first thing you need to do is to define your theme (https://shopify.github.io/restyle/fundamentals/defining-your-theme). The example in this section however doesn't include the textVariants property.
textVariants
This is not an immediate issue, but as soon as you start using the <Text /> component the app will crash because it requires this property. This can cause a bit of frustration and confusion.
<Text />
To see the new documentation, follow these steps:
cd documentation && yarn && yarn start
You'll now see the new updated documentation
Description
When going through the docs one of the first thing you need to do is to define your theme (https://shopify.github.io/restyle/fundamentals/defining-your-theme). The example in this section however doesn't include the
textVariants
property.This is not an immediate issue, but as soon as you start using the
<Text />
component the app will crash because it requires this property. This can cause a bit of frustration and confusion.Reviewers’ hat-rack :tophat:
To see the new documentation, follow these steps:
cd documentation && yarn && yarn start
You'll now see the new updated documentation
Screenshots or videos (if needed)
Checklist