@asbjornenge/react-style
React `<style>` component.
Last updated 5 years ago by asbjornenge .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @asbjornenge/react-style 
SYNC missed versions from official npm registry.

Component Style

React <style>component.

This package is scoped because it has some particular opinions baked into it.

Install

npm install --save @asbjornenge/react-style

Use

import Style   from '@asbjornenge/react-style'
import styling from './style/component.styl'

class StyledComponent extends React.Component {
    render() {
        <div>
            <Style style={styling} />
            <h1>YO</h1>
        </div>
    }
}

Changelog

1.0.1

  • Added missing browserify section to package.json

1.0.0

  • Initial release :tada:

enjoy

Current Tags

  • 1.0.1                                ...           latest (5 years ago)

2 Versions

  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |