react-treebeard
react-treebeard copied to clipboard
trigger this.props.function in custom decorator.Header
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?
TypeError: Failed to set an indexed property on 'CSSStyleDeclaration': Index property setter is not supported. Can anyone suggest me to solve this error?
@parths-addweb Do you have an example?