web3-component-lib
v0.0.2
Published
a component library for web3 user
Readme
- Set up of a Component for storybook, an example of component "HelloWorldButton"
import React from "react";
import {storiesOf} from '@storybook/react'
import { HelloWordButton } from "../components";
const stories = storiesOf('App Test',module);
stories.add("App", ()=>{
return <HelloWorldButton text="hi"/>
})- For Dev Preview
npm storybook- For Roll up
npm build-lib- For Publis to npm
npm publish- Ref video https://www.youtube.com/watch?v=hf6Z8OZanec
