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

rfg

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rfg

Simple React grid

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

🎛 rfg (React Fab Grid)

A super simple react component for creating grids. Uses the fab four technique to eliminate the need for any media queries.

Install

$ yarn add rfg

Usage

import React from 'react'
import Col from 'rfg'

const App = () => (
  <div>
    <Col size={4}>I'm in a 1/3 column.</Col>
    <Col size={8}>I'm in a 2/3 column.</Col>
  </div>
)

export default App

API

size

A number between 1 and 12. Declares the size of the box (1 being 1/12 width and 12 being the full width).

breakpoint

Any number. Used to declare the point in which to break the row into columns.

License

MIT © Henry Kaufman

FAQs

Package last updated on 04 Aug 2017

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