Skip to content

Template to build a shared react components lib

Notifications You must be signed in to change notification settings

niltonxp2/react-components-lib

Repository files navigation

React UI Library

Installation

npm i @niltonxp/react-components-lib

Usage

import React from 'react';
import { Button } from '@niltonxp/react-components-lib';

function App() {
  return (
    <div>
      <Button disabled>Demo</Button>
    </div>
  );
}

export default App;
  • Fork the repository.
  • Clone the repository to your local machine.
  • Install the dependencies using npm install.
  • View the components in the browser using npm run storybook.
  • Make your changes.
  • Test the changes using npm test.
  • Build the library using npm run build.
  • Commit the changes and push them to your forked repository.
  • Publish the package on npm.
  • Install and use the package in your project.

Releases

No releases published

Packages

No packages published