Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation on using presets #1

Open
cainaleaouk opened this issue Nov 19, 2020 · 0 comments
Open

Fix documentation on using presets #1

cainaleaouk opened this issue Nov 19, 2020 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@cainaleaouk
Copy link
Contributor

The component expects a presetName optional prop to be a preset key defined in the config to work but the README doc does not reflect that. You can see how it's used in the example:

<BackgroundReadableColorText backgroundColor={bgColor} render={StyledText} presetName='RED'>
          USE PRESET
</BackgroundReadableColorText>

in the README example the prop presetName is not being passed

@cainaleaouk cainaleaouk added the documentation Improvements or additions to documentation label Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

No branches or pull requests

2 participants