lelandrichardson / react-primitives

Primitive React Interfaces Across Targets
MIT License
3.09k stars 108 forks source link

Use of normal CSS or JSS ? #122

Closed davidjtorres closed 5 years ago

davidjtorres commented 5 years ago

Is it possible to normal CSS on react-native-web using standard HTML dom elements ? and use a different instead of Flex ?

haf commented 5 years ago

Curious too; specifically with emotion.sh

mathieudutour commented 5 years ago

emotion has a @emotion/primitives package: https://emotion.sh/docs/@emotion/primitives

But no, you can't use normal CSS as it would defeat the point of react-primitives (eg. be able to use components across platforms)