Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

tailwind rn yarn install

import {create} from 'tailwind-rn';
import styles from './styles.json';

const {tailwind, getColor} = create(styles);

tailwind('text-blue-500 text-opacity-50');
//=> {color: 'rgba(66, 153, 225, 0.5)'}
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #tailwind #rn #yarn #install
ADD COMMENT
Topic
Name
8+5 =