This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
trigger this.props.function in custom decorator.Header #151
Labels
❓ question
Further information is requested
Following #86 I am able to bind onClick function to a custom decorator.Header.
Now I would like to trigger parent component's function onClick, something like:
onClick={()=> this.props.clickFunc}
Can anyone suggest me on how we can achieve this?
The text was updated successfully, but these errors were encountered: