bsaphier / simple-site-components

A collection of React design Cs and HOCs for creating a responsive website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-SSC (Simple Site Components)

A collection of design components for creating a responsive website.

npm

!Still being developed. Anything can change!

If you include this package as a dependency in your project, be wary that a future version may work in very different ways...

Installation / Setup

npm i react-ssc || yarn add react-ssc

Most components are stateless and only handle styling. For now, this package does not export the stylesheets by default and so you must import them seperate from the main library. If you are using bundler like Webpack, the entry point is a good place to do this:

import SSC from 'react-ssc';      // import the component library
import 'react-ssc/dist/lib.css';  // import the stylesheets

...

class App extends React.Component {
  render() {
    return (
      <SSC.Container>
        ...
      </SSC.Container>
    );
  }
}

About

A collection of React design Cs and HOCs for creating a responsive website

License:MIT License


Languages

Language:JavaScript 60.8%Language:CSS 38.7%Language:HTML 0.4%