@cargobr/poseidon
v1.36.0
Published
Component Library for CargoBR React projects
Downloads
54
Readme
@cargobr/poseidon
Component Library for CargoBR React projects
Live
- Prod: http://poseidon-cargobr.surge.sh
- Homolog: http://homolog-poseidon-cargobr.surge.sh
Install
npm install --save @cargobr/poseidon
or
yarn add @cargobr/poseidon
Usage
import React, { Component } from 'react';
import { MyComponent } from '@cargobr/poseidon';
class Example extends Component {
render() {
return <MyComponent />;
}
}
Development and Storybook
You can easily develop and interact with your components by using Storybook. To run the local server, simply run:
npm i
npm run storybook
Navigate to http://localhost:6006 to view your stories. They should automatically update as you develop.
Storybook will pick up any file ending with .stories.js
in a component folder.