28 lines
433 B
Markdown
28 lines
433 B
Markdown
|
The code can be found in:
|
||
|
|
||
|
* [Github](https://github.com/yldio/joyent-portal/tree/master/packages/ui-toolkit)
|
||
|
* [NPM](https://www.npmjs.com/package/joyent-ui-toolkit)
|
||
|
|
||
|
#### Install
|
||
|
|
||
|
```bash static
|
||
|
yarn add joyent-portal-ui-toolkit
|
||
|
```
|
||
|
|
||
|
#### Usage
|
||
|
|
||
|
```js static
|
||
|
import { H1 } from 'joyent-portal-ui-toolkit'
|
||
|
|
||
|
export default () => (
|
||
|
<H1>Hello World</H1>
|
||
|
);
|
||
|
```
|
||
|
|
||
|
#### Demo
|
||
|
|
||
|
```bash static
|
||
|
yarn styleguide
|
||
|
```
|
||
|
|
||
|
open http://0.0.0.0:6060
|