@_oflc/react

React components for OFLC

Usage no npm install needed!

<script type="module">
  import OflcReact from 'https://cdn.skypack.dev/@_oflc/react';
</script>

README

oflc-react

React components for OFLC

NPM JavaScript Style Guide

Install

npm i @_oflc/oflc-react

Usage

import React, { Component } from 'react'

import {Container, Button, P, H} from 'oflc-react'

export default class NotFoundComponent extends Component {
  render () {
    return (
      <Container type="container" root="col-xs-12">
        <H default>Page not found</H>
        <P>The page you have requested is not found</P>
        <Button ref="/home">Go Home</Button
      </Container>
    )
  }
}

License

MIT ©