0.1.2 • Published 2 years ago

@garments/react-native v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Garments

Garments is a tiny CSS-in-JS library around React Native style prop that provides styled-components-like API. It includes features from different common CSS-in-JS libraries to simplify styling:

  • styled API
  • basic support of variants
  • static theming
  • props interpolation

Installation

Using yarn:

yarn add @garments/react-native

Using npm:

npm install @garments/react-native

Usage Example

import { styled } from '@garments/react-native';
import { View } from 'react-native';

const Container = styled(View)({
  flex: 1,
})