rootstrap/react-native-use-styles

View on GitHub
demo/styles/namespaced.js

Summary

Maintainability
A
0 mins
Test Coverage
import { Styles } from 'react-native-use-styles';

export default Styles({
  computed: {
    disabled: ([isDisabled]) => ({
      color: isDisabled ? '$disabled' : '$clouds',
    }),
  },
  centered: 'txt:align:center',
});