pagoPA Editorial Components
A react component library to be used to compose pagoPa product pages based on MUI italia
Installation
To add this package to your package.json
run in your terminal:
// with npm
$ npm install @pagopa/editorial-components
// with yarn
$ yarn add @pagopa/editorial-components
Usage
import { Hero } from "@pagopa/editorial-components";
...
<Hero />
...
CLI Commands
Here's an explanation of the commands you can find in the package.json
:
-
build
: It compiles the entire project using the relativetsconfig.json
file. -
storybook
: It launches a local Storybook application using 6006 port. -
build-storybook
: It outputs a static Storybook in thestorybook-static
folder
Contributions
Any critiques and suggestions are welcome. If you feel pretty confident, you can open a Pull Request