0.0.1-alpha.3 • Published 5 years ago

starter-react-components v0.0.1-alpha.3

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

starter-react-components

Installation

This module is installable through npm:

npm install starter-react-components

However, it is meant as a boilerplate repo for starting React components library projects:

git clone git@github.com:ravihamsa/react-starter-components.git
cd react-starter-components
rm -rf .git package-lock.json
# Now make it your own by replacing package.json and README.md

Features

  • Dev server (webpack)
  • TypeScript
  • CSS modules
  • PostCSS
  • React

Usage

import { Button } from "starter-react-components";

function App() {
  return <Button onClick={() => alert("Hi!")}>Say hi</Button>;
}