utilstyle-react-native
v0.4.4
Published
utility-first styles for react native
Downloads
3
Readme
utilstyle-react-native
A utility-first styles for React native. Inspired by tailwindCSS
Installation
npm install utilstyle-react-native
Features
- [x] all classnames is written in typescript
- [x] all styles has name like tailwindcss, please consider documentation
- [x] support dark mode
- [x] transform styles
- [ ] able to config this package if you want
- [ ] subpackage: create prettier plugin to ignore printWidth with utilstyle
Usage
import { us, classnames, transformsStyles } from "utilstyle-react-native";
Examples
The source code for the example (showcase) app is under the example/ directory. If you want to play with the API but don't feel like trying it on a real app, you can run the example project.
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.