gluestick-plugin-radium

4.6.6 • Public • Published

gluestick-plugin-radium

This plugin allows you to specify a set of tools to manage inline styles on React elements.

How to use

  • Install plugin
npm install --save gluestick-plugin-radium
  • Define (and configure) plugin in src/gluestick.plugins.js:
export default [
  'gluestick-plugin-radium'
]

Example usage

import React, { Component } from "react";
 
export default class Home extends Component {
  render () {
    return (
        <div style={styles.base}>Home</div>
    );
  }
}
 
const styles = {
  base: {
    color: "blue",
  },
};

Readme

Keywords

none

Package Sidebar

Install

npm i gluestick-plugin-radium

Weekly Downloads

0

Version

4.6.6

License

MIT

Unpacked Size

152 kB

Total Files

5

Last publish

Collaborators

  • cybrass
  • ferrannp
  • mike866
  • supergibbs
  • toddsurfs
  • zamotany