Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

tailwincss in react native

npm i tailwind-react-native-classnames

import tw from 'tailwind-react-native-classnames'

const MyComponent = () => (
  <View style={tw`p-5`}>Hello from React native tailwindcss</View>
);
 
PREVIOUS NEXT
Tagged: #tailwincss #react #native
ADD COMMENT
Topic
Name
6+8 =