react-component-library-starter-pack
v1.0.1
Published
This is a simple component library intended to be used as a starter pack for any new React component library
Downloads
2
Maintainers
Readme
This is a simple react component library intended to be used as a starter pack for any new component library - built using Typescript and Rollup.
Prerequisites
- node v20.10.0 - if using nvm run
nvm install 20
andnvm use 20
- npm v10.2.5 -
brew install npm
with Homebrew on Mac - react v16.14.0
- an account on https://www.npmjs.com/
Install
Using npm:
npm install react-component-library-starter-pack
Usage
Import a component into your project
import { Button } from 'react-component-library'
const Example = () => {
<Button>Button</Button>
}
An example of the react-component-library-starter-pack implementation using Node v20, React v16 on Replit can be found here