@moxoff/axiom-core
v0.5.4
Published
Storybook for Axiom components
Downloads
62
Keywords
Readme
Axiom Core
Axiom Core is a reusable component library that helps Moxoff people build UIs faster. The goal is to make building durable UIs more productive and satisfying.
Install
Axiom Core components are written in React, and its stories are written in Component Story Format. It requires Storybook version 5.2-beta and up.
Add Axiom Core to your project.
npm install --save @moxoff/axiom-core
Use
Refer to the full documentation.
Import components you want into your UI
import { OverviewCard } from '@moxoff/axiom-core';
and use them like so
const example = () => (
<div style={{ maxWidth: '250px' }}>
<OverviewCard
title='Overview Card'
number=100
prevNumber=200
color='green'
invert=false
caption='from yesterday'
avatar='A'
/>
</div>
)
Contribute
To release a new version simply run:
npm version patch
or npm version minor
or npm version major
.
This will automatically increase the version number, commit and push a tag that will trigger the release'