@gen3/ui-component

Basic UI component for gen3

Stats

StarsIssuesVersionUpdatedCreatedSize
@gen3/ui-component
310.10.04 months ago3 years agoMinified + gzip package size for @gen3/ui-component in KB

Readme

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.