0.0.1-alpha.1 • Published 4 years ago
react-architect-ui v0.0.1-alpha.1
React + Storybook + TypeScript
This is a template/starter to create a React UI library using Storybook and TypeScript
Setup
npm install
Develop
npm start
Build
npm run build
Usage
After publishing your lib (ie my-react-lib
) you can use it by importing the styles in your App's entry point:
// index.tsx
import 'my-react-lib/lib/styles.css'
Then you can import and use your components:
//
import React from 'react'
import { Example } from 'my-react-lib'
export class App extends React.Component {
render() {
return <Example />
}
}