react-pivot icon indicating copy to clipboard operation
react-pivot copied to clipboard

Styling

Open ayozebarrera opened this issue 8 years ago • 1 comments

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!

ayozebarrera avatar Mar 23 '16 09:03 ayozebarrera

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

ayozebarrera avatar Mar 23 '16 09:03 ayozebarrera