Socket
Socket
Sign inDemoInstall

@garments/react-native

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @garments/react-native

styled-components for React Native optimized for performance.


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 10 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc