2.0.1 • Published 5 years ago
perso-components v2.0.1
Perso Components
This is a library containing all common components shared between the other projects and widgets.
Purpose
It's purpose is to serve as library to be used within all projects and centralize all the common components in one place.
Installation
Add the library as a project dependency:
npm install perso-componentsUsage
Adding it to your project
import Button from 'perso-components/Button';
function App() {
return (
<Button {...props} />
);
}Bundling changes while in development mode (optional):
npm run build:watchPublishing:
- Alter your
package.json's version (Refer to semantic versioning) - Run
npm logincommand to log into the registry. - Run
npm publishcommand
2.0.1
5 years ago