@garments/react-native
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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,
})

Readme

Keywords

none

Package Sidebar

Install

npm i @garments/react-native

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

32.9 kB

Total Files

32

Last publish

Collaborators

  • skoob13