npm.io
0.11.5 • Published 8 months ago

@gen3/ui-component

Licence
ISC
Version
0.11.5
Deps
12
Size
819 kB
Vulns
0
Weekly
0
Stars
4

Gen3 UI Component Library

npm (scoped)

UI library for Gen3 apps

Quick Start

Install

Install with npm:

$ npm install --save @gen3/ui-component
Usage
import Button from '@gen3/ui-component/dist/components/Button';
const myFunc = () => {
  console.log('clicked!');
};

<Button buttonType='primary' label='Primary Button' onClick={myFunc} leftIcon=’download’ />
API

Clone the repo and try more components:

$ git clone git@github.com:uc-cdis/gen3-ui-component.git
npm run storybook

For Developers

Run following scripts before commit:

$ npm version patch

It will bump the version of the npm package and commit the change.

Keywords