JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 56
  • Score
    100M100P100Q9942F
  • License MIT

Bootstrap grid writen in inline styles (mainly for Radium)

Package Exports

  • radium-bootstrap-grid

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (radium-bootstrap-grid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Radium Bootstrap Grid

Install

$ npm install --save radium-bootstrap-grid

Add it to your project

look at example directory and you need to add only:

// Row.react.js
import Component from 'react-pure-render/component';
import Radium from 'radium';
import React, {PropTypes as RPT} from 'react';
import {row, clearfix} from './bootstrapGrid';

@Radium
export default class Row extends Component {

  static propTypes = {
    children: RPT.node
  }

  render() {
    const {children} = this.props;

    return (
      <div style={row}>
        {children}
        <div style={clearfix} />
      </div>
    );
  }

}

Example app

npm install
cd ./example_app
npm install
gulp

this will start development server at localhost:8000 and you can check the grid

License

MIT © Jiri Orsag