Skip to content
transform web style to react-native style
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
examples
src
.babelrc.js
.editorconfig
.gitignore
.travis.yml
HISTORY.md
LICENSE.md
README.md
package.json

README.md

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}
You can’t perform that action at this time.