Skip to content

Mediatek-Cloud/mcs-ui

Repository files navigation

MCS ui

React components used by MCS.

Travis Codecov Status npm package npm downloads

prettier license

Installation

$ yarn add mcs-ui styled-components

Demo

Usage

import { ThemeProvider } from 'styled-components';
import { theme, Button } from 'mcs-ui';

<ThemeProvider theme={theme}>
  <Button>Hello MCS</Button>
</ThemeProvider>;

Development

  • node 11.10.0
  • yarn 1.13.0
  • react = 16.8.0
$ yarn install --pure-lockfile
$ npm start

Test

$ yarn run format
$ yarn run eslint
$ yarn run flow
$ yarn run test:watch
$ yarn run build

Publish

$ npm version patch
$ npm run changelog
git commit & push

CONTRIBUTING

  • ⇄ Pull requests and ★ Stars are always welcome.
  • For bugs and feature requests, please create an issue.
  • Pull requests must be accompanied by passing automated tests.