I am trying to pass the following:
className={'follow-btn ${followClass}'} onClick={this.toggleFollow.bind(this)}
into the component:
<Button style="default" size="small" fill="fill">Follow</Button>
The actual component code:
<button className={classnames('button', this.props.classes, this.props.action, this.props.text, this.props.size, this.props.style, this.props.fill)}>{this.props.children}</button>
I could not figure out how to accept the arguments as it is into the component but it does not seem to work. Any ideas?
Thanks