I'm having some trouble styling this element I created. So, I made a variable called test and assigned it to an element.
var test = <Button className="testButton" />
Then in my return statement, I am using the test variable like so:
render () {
var test = <Button className="testButton" />
return{
{test}
}
}
I've attempted to style the button by adding a className, but it doesn't seem to be working as expected. Does anyone have any suggestions on how I can achieve this?