ouisys-component-library
v1.0.0
Published
Ouisys Components
Downloads
139
Keywords
Readme
Ouisys Component Library
The code contained in this repository is a Component Library.
Notes to keep in mind:
- You don't have to clone this repo in order to use the library, and this Component Library.
Install CLI
yarn
Storybook local env.
To start your local dev. server:
yarn storybook
To build Storybook static files:
yarn storybook:export
Testing
To run tests on your local code:
yarn test
Alternatively you can add the --watch
flag for continued refresh and testing, as well as the -u
flag to update your snapshots, when relevant and needed.
Usage
yarn add ouisys-component-library@latest
import React from 'react';
import { Button, ButtonProps } from 'ouisys-component-library/Button';
export const Component = ({
children
}: ButtonProps) => {
const renderComponent = () => (
<Component>
{childen}
</Component>
)
};
Governance and contribution
To read on this topic, please do so here