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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fit with React? #15

Closed
zhaoyao91 opened this issue Jun 18, 2016 · 3 comments
Closed

How to fit with React? #15

zhaoyao91 opened this issue Jun 18, 2016 · 3 comments

Comments

@zhaoyao91
Copy link

e.g.

prefixer({display:'flex'}) // => {display: ['flex', '-ms-flexbox']}

but react does not receive style as this format

@ai
Copy link
Member

ai commented Jun 18, 2016

@zhaoyao91 what format is needed for React Inline Styles in this case?

@ai
Copy link
Member

ai commented Jun 18, 2016

Also it is not a best idea to use React Inline Styles in this case. JSS, CSJS or other second-generation CSS-in-JS techniques is much better. And they supports two values with one property name.

@zhaoyao91
Copy link
Author

I will check your solution, thanks

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

2 participants