- Notifications
You must be signed in to change notification settings - Fork9
nitin42/glamorous-primitives
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
style primitive React interfaces with glamorous
You cannot useglamorous together withreact-primitives to style the components.
Combine glamorous with react-primitives by removing implicit dependencies to render the same code across the targets.
Use this packageonly when you want to share the same code across multiple platforms. If you're looking to style the components for a specific platform useglamorous-native for React Native orglamorous for React
npm install glamorous-primitives --save
This also depends onreact
andreact-primitives
. Make sure you have them installed.
You can find all the exampleshere.
Code
Renders on Sketch, Web and Mobile
There are no breaking changes inglamorous-primitives
except forone thing which means you can do everything you used to do withglamorous
andglamorous-native
😄
I am working on 👇🏼
- className as prop using babel transform
- css prop (like glamorous)
glamorous-primitives
does not export the "tiny" version of glamorous like glamorous and glamorous-native.
Below is the list of resources where you can learn more about primitive interfaces, rendering process across multiple platform and styling the components
MIT
About
💄 style primitive React interfaces with glamorous
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.