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 ViewType caption type to not include react elements #368

Merged
merged 2 commits into from
May 2, 2020
Merged

Fix ViewType caption type to not include react elements #368

merged 2 commits into from
May 2, 2020

Conversation

zackdotcomputer
Copy link
Contributor

Description of changes:
Switches the caption type on ViewType from ReactNode, which includes all the renderable component and fragment types in react, to a subset of renderable primitives, which is what the downstream code actually can handle.

Related issues (if any):
Fixes issue #367

Checks:

  • Please confirm yarn run lint ran successfully
  • Please confirm that only /src and /examples/src are committed
  • [if new feature] Please confirm that documentation was added to the README.md

yarn run lint doesn't run successfully, but it also didn't run successfully before this commit. No new failures added.

@zackdotcomputer
Copy link
Contributor Author

@davwheat Updated based on our discussion in the Issue.

@davwheat davwheat self-requested a review April 27, 2020 03:59
@davwheat davwheat removed their assignment Apr 27, 2020
@davwheat davwheat merged commit 7d26913 into jossmac:master May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants