@cargobr/poseidon

Component Library for CargoBR React projects

Usage no npm install needed!

<script type="module">
  import cargobrPoseidon from 'https://cdn.skypack.dev/@cargobr/poseidon';
</script>

README

@cargobr/poseidon

Component Library for CargoBR React projects

Live

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.