0.0.6 • Published 1 year ago
pmc-react-ui v0.0.6
PMC React UI
Develop
Install and publish it locally.
npm install
npm publish
Development is via storybook.
npm run storybook
Build
Build and push locally
npm run build
Both cjs
and esm
format are supported. To import,
import { Button } from 'pmc-react-ui';
The stylesheet is extracted, to import,
import 'pmc-react-ui/dist/esm/pmc.css';
Dependencies
The build excludes the following two dependencies, and expects the consumer application to declare them as the dependencies. Note: they are declared as peer dependencies in this repo.
"dependencies": {
"react": "^18.2.0",
"react-aria-components": "^1.0.1"
},