web-to-react-native-style

0.3.0 • Public • Published

web-to-react-native-style

transform web style to react-native style

NPM version build status Test coverage npm download

api

transform(propertyName, value): Object

import { transform } from 'web-to-react-native-style';
transform('padding','10px 5px') => {paddingTop:10,paddingBottom:10,paddingLeft:5,paddingRight:5}

Readme

Keywords

Package Sidebar

Install

npm i web-to-react-native-style

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

56.3 kB

Total Files

25

Last publish

Collaborators

  • yiminghe