Skip to content

darshitshah8/React-Native-Tailwind-CSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Deployment

First create and setup your react native application

Now add React Native Wind library using

Yarn:

  yarn add react-native-wind

or

Npm

  npm install react-native-wind

refer for more : https://reactnativewind.com/

That's It 🥳🎉

Usage/Examples

import React from 'react';
import {Text, View} from 'react-native';
import {s} from 'react-native-wind';
const App = () => {
  return (
    <View style={s`p-5 w-full h-full bg-green-900`}>
      <Text>Hello</Text>
    </View>
  );
};
export default App;

Reference