Open danielCrespo01 opened 8 years ago
The implementation is still the same as the origin code, which doesn't support child nodes.
I have that as one of the highest things on my list. My first priority has been splitting the code out to es6 and a proper repository format.
So answer is not yet.
it seems that the modal component meets my requirements thank you very much
when I copy this code, the system reported the object which get by ref was undefined. and I found in react-native the "ref" attribute is not supported, right? any workaround is welcome.
Can you post you code example? ref
is still valid, it is the old way of using it that was dropped. In the olden days we called ref="somename"
and react would assign the object to a refs object. That was replaced this year in favor of the lambda style ref={(somename) => this.somename = somename }"
.
If you are getting undefined, make sure that your component is mounting the code. I would be happy to help you, but I need an example of your render method to get an idea of what is going on.
you can add custom content within the component.