Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling #33

Open
ayozebarrera opened this issue Mar 23, 2016 · 1 comment
Open

Styling #33

ayozebarrera opened this issue Mar 23, 2016 · 1 comment

Comments

@ayozebarrera
Copy link

Hey, your component looks great 馃憤

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant