2.0.1 • Published 4 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-components
Usage
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:watch
Publishing:
- Alter your
package.json
's version (Refer to semantic versioning) - Run
npm login
command to log into the registry. - Run
npm publish
command
2.0.1
4 years ago