@1f8/rn-tailwind
v0.9.4
Published
1F8 Tailwind CSS Style Generator for React Native
Downloads
58
Readme
- Install
yarn add @1f8/rn-tailwind
- How to use
import { generateTailwindStyles as tw } from '@1f8/rn-tailwind'
import { Text, View } from 'react-native'
const divStyles = tw('p-8 ml-4 items-center justify-center')
console.log(divStyles)
return (
<View style={divStyles}>
<Text>Hello World</Text>
</View>
)
- Publishing Updates
// dont forget to change the version
yarn build
cd dist
npm publish