react-pivot
react-pivot copied to clipboard
Styling
Hey, your component looks great :+1:
About styling.. I saw in your example, at calculations object the className
property.
But that forces me to use css... I'm not using css so I was wondering if instead className we could use a style
property to apply inline style.
Otherwise, I tried to use a stateless component in your template function to apply my inline style but I get [object Object]
result in the table
Thank you!
I know I could use a string mark like your dimensions template
return '<a href="http://google.com/?q='+value+'">'+value+'</a>'
but I think stateless components as templates will be great and style prop shouldn't be hard to apply