-
Notifications
You must be signed in to change notification settings - Fork 47.1k
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
Remove content property #119
Milestone
Comments
Merged
This was referenced Oct 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently have 2 paths for having child content in
ReactNativeComponent
s:this.props.children
andthis.props.content
. Supporting both of these paths makes our code more complicated than it needs to be, and really a single child is the same as content.We were using this for
<option>
to make sure it only had a single text child, thought it doesn't look like we are anymore...The text was updated successfully, but these errors were encountered: