rootstrap/react-native-use-styles

View on GitHub
src/dictionaries/aliases.js

Summary

Maintainability
A
0 mins
Test Coverage
/* Use cases:
  input: 'fx:dir:col'
  output: { flexDirection: 'column' }
*/
export default Object.assign(Object.create(null), {
  bot: 'bottom',
  col: 'column',
  dir: 'direction',
  fx: 'flex',
  lt: 'left',
  rt: 'right',
  bg: 'background',
  txt: 'text',
  jf: 'justify',
  pd: 'padding',
  wd: 'width',
  hg: 'height',
});