0.0.1-alpha.1 • Published 6 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 installDevelop
npm startBuild
npm run buildUsage
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 />
}
}