example-react-component-npm

Example Component Library for a future project

Usage no npm install needed!

<script type="module">
  import exampleReactComponentNpm from 'https://cdn.skypack.dev/example-react-component-npm';
</script>

README

React Component Library

Example Component Library for a future project

NPM JavaScript Style Guide

Install

Make sure you have Node.js 8+ and yarn installed.

Npm

npm install --save example-react-component-npm

Yarn

yarn add example-react-component-npm

Example

import React, { Component } from 'react'

import 'example-react-component-npm/dist/brand.css';
import { Button } from 'example-react-component-npm';

class Example extends Component {
  render () {
    return (
      <Button color="primary" />
    )
  }
}

License

MIT © Tayler Williams-Smith