0.3.0 • Published 6 years ago
web-to-react-native-style v0.3.0
web-to-react-native-style
transform web style to react-native style
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}