New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-grid-simple

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-grid-simple

grid system

latest
Source
npmnpm
Version
0.2.6
Version published
Weekly downloads
2
-90.48%
Maintainers
1
Weekly downloads
 
Created
Source

react-grid-simple

Based on Bootstrap 3 Grid System

version downloads MIT License

Made this because I got tired of looking at divs everywhere and looking for classNames.

Install

npm install react-simple-grid --save

Make sure to import the styles for the grid system. It is essentially just Bootstraps grid system. So if you have bootstrap already on your project you don't need the css from react-grid-simple.

<link rel="stylesheet" href="/node_modules/react-grid-simple/src/css/grid.min.css">

Usage

import React from 'react';
import { render } from 'react-dom';
import { Container, Row, Col } from 'react-grid-simple';

function App (props) {
  return (
    <Container fluid={true}>
      <Row>
        <Col xs={3} sm={3} lg={5} md={9}>
          <p>Waddup</p>
        </Col>
        <Col xs={2} sm={3} lg={1} md={1}>
          <p>Whats Poppin</p>
        </Col>
        <Col xs={2} sm={3} lg={5} md={1}>
          <p>Gangsta Grillz</p>
        </Col>
        <Col xs={5} sm={3} lg={1} md={1}>
          <p>Pimpin</p>
        </Col>
      </Row>
    </Container>
  );
}

render(<App />, document.getElementById('app'));

License

MIT

FAQs

Package last updated on 03 Aug 2016

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