tw-to-native
v1.0.3
Published
The TailwindCSS to React Native Style Compiler is an innovative npm library designed to bridge the gap between TailwindCSS and React Native. This library allows developers to effortlessly convert TailwindCSS utility classes into React Native styles, makin
Downloads
8
Readme
TailwindToNativeStyle
A utility library to convert Tailwind CSS classes to React Native stylesheets.
Table of Contents
Installation
To install the library, use npm or yarn:
npm install tw-to-native
# or
yarn add tw-to-native
Usage
import {native} 'tw-to-native';
(async()=>{
await native.init();
native.generate('profile-profile.ts: flex flex-1 justify-center items-center');
})()