2017-05-18 21:21:33 +03:00
|
|
|
# joyent-portal-ui-toolkit
|
|
|
|
|
2017-06-01 00:35:35 +03:00
|
|
|
[![Docker Repository on Quay](https://quay.io/repository/yldio/joyent-ui-toolkit/status)](https://quay.io/repository/yldio/joyent-ui-toolkit)
|
|
|
|
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)
|
|
|
|
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg)](https://github.com/RichardLitt/standard-readme)
|
2017-06-20 02:18:34 +03:00
|
|
|
[![demo master](https://img.shields.io/badge/demo-master-3B47CC.svg)](http://styleguide-master.svc.f4b20699-b323-4452-9091-977895896da6.eu-ams-1.triton.zone:6060)
|
|
|
|
[![demo staging](https://img.shields.io/badge/demo-staging-3B47CC.svg)](http://styleguide-staging.svc.f4b20699-b323-4452-9091-977895896da6.eu-ams-1.triton.zone:6060)
|
2017-05-18 21:21:33 +03:00
|
|
|
|
|
|
|
## Table of Contents
|
|
|
|
|
2017-10-19 16:36:18 +03:00
|
|
|
* [Install](#install)
|
|
|
|
* [Usage](#usage)
|
|
|
|
* [License](#license)
|
2017-05-18 21:21:33 +03:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```
|
|
|
|
yarn add --dev joyent-portal-ui-toolkit
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```js
|
2017-10-31 12:03:44 +02:00
|
|
|
import React from 'react';
|
2017-10-12 21:15:51 +03:00
|
|
|
import { H1 } from 'joyent-portal-ui-toolkit';
|
2017-05-18 21:21:33 +03:00
|
|
|
|
2017-10-12 21:15:51 +03:00
|
|
|
export default () => <H1>Hello World</H1>;
|
2017-05-18 21:21:33 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Demo
|
|
|
|
|
|
|
|
```
|
|
|
|
npm run styleguide
|
|
|
|
open http://0.0.0.0:6060
|
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MPL-2.0
|