2017-09-26 14:12:15 +03:00
|
|
|
The code can be found in:
|
|
|
|
|
2017-10-19 16:36:18 +03:00
|
|
|
* [GitHub](https://github.com/yldio/joyent-portal/tree/master/packages/ui-toolkit)
|
|
|
|
* [npm](https://www.npmjs.com/package/joyent-ui-toolkit)
|
2017-09-26 14:12:15 +03:00
|
|
|
|
2017-10-03 17:37:14 +03:00
|
|
|
### Install
|
2017-09-26 14:12:15 +03:00
|
|
|
|
|
|
|
```bash static
|
|
|
|
yarn add joyent-portal-ui-toolkit
|
|
|
|
```
|
|
|
|
|
2017-10-03 17:37:14 +03:00
|
|
|
### Usage
|
2017-09-26 14:12:15 +03:00
|
|
|
|
|
|
|
```js static
|
2018-04-06 17:53:44 +03:00
|
|
|
import { H1 } from 'joyent-portal-ui-toolkit';
|
2017-09-26 14:12:15 +03:00
|
|
|
|
2018-04-06 17:53:44 +03:00
|
|
|
export default () => <H1>Hello World</H1>;
|
2017-09-26 14:12:15 +03:00
|
|
|
```
|
|
|
|
|
2017-10-03 17:37:14 +03:00
|
|
|
### Demo
|
2017-09-26 14:12:15 +03:00
|
|
|
|
|
|
|
```bash static
|
|
|
|
yarn styleguide
|
|
|
|
```
|
|
|
|
|
2017-10-12 21:15:51 +03:00
|
|
|
Open `http://0.0.0.0:6060`
|