This project is based on create-react-app, in this project you can create your own UI library, and publish it to NPM.
Install dependencies
yarn install
or
npm install
Start development server
yarn start
or
npm start
Then you can run this project in your browser http://localhost:3000
yarn run build
or
npm run build
npm publish
npm install react-to-npm
import { MyButton } from "react-to-npm";
<MyButton
type="default"
text="this is a examle component"
onClick={()=>{console.log("clicked")}}
/>
MIT