I have been facing some issues in functional compoent. For example I have a component which recive children.
return ( <Portal isOpen={isOpen}> { isOpen ? ( <ModalContainer> {children} </ModalContainer> ) : null } </Portal> )
Now I wanna pass a function to this children {children}. Could u tell me how to do this!?
Can you please ping me in twitter, and then we can look into the problem ???
Here's my handle - @thecoollearner
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have been facing some issues in functional compoent. For example I have a component which recive children.
Now I wanna pass a function to this children {children}. Could u tell me how to do this!?
Can you please ping me in twitter, and then we can look into the problem ???
Here's my handle - @thecoollearner