Socket
Book a DemoInstallSign in
Socket

gluestick-plugin-radium

Package Overview
Dependencies
Maintainers
6
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gluestick-plugin-radium

Plugin for supporting Radium in GlueStick project

latest
Source
npmnpm
Version
4.6.6
Version published
Maintainers
6
Created
Source

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",
  },
};

FAQs

Package last updated on 27 Mar 2019

Did you know?

Socket

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