@react-web/stylesheet

## Install

Stats

stars 🌟issues ⚠️updated πŸ› created 🐣size πŸ‹οΈβ€β™€οΈ
@react-web/stylesheet
Minified + gzip package size for @react-web/stylesheet in KB

Readme

@react-web/stylesheet

Install

β†’ npm i @react-web/stylesheet 

API

  • StyleSheet.create(styleMap: Object) styles: object
  • StyleSheet.assign(styleList | styleMap) prefixedStyle: object
  • StyleSheet.flatten(nestedStyleList: Array): styleList: Array

Example:

import { StyleSheet, View } from 'react-bucket'

const styles = StyleSheet.create({
  btn: {
    height: 36,
    textAlign: 'center'
  },
  btn_red: {
    backgroundColor: '#F33'
  }
})

ReactDOM.render(
  <View style={[styles.btn, styles.btn_red]}>Click Me!</View>
)

LICENSE

MIT↗

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.