@7shifts/sous-chef 中文文档教程
@7shifts/sous-chef
7shifts 组件库
Install
yarn add @7shifts/sous-chef
或者
npm install --save @7shifts/sous-chef
Usage
import React, { Component } from 'react';
import { ResourceTable } from '@7shifts/sous-chef';
import '@7shifts/sous-chef/dist/index.css';
class Example extends Component {
items = [
{
employeeName: 'Steve Lawrence',
date: 'Jun 22, 2019',
hours: 15,
},
{
employeeName: 'Alex Andrade',
date: 'Jan 15, 2020',
hours: <span style={{ color: 'red' }}>8</span>,
},
];
render() {
return <ResourceTable items={items} />;
}
}
Documentation
您可以在 中找到组件文档这里。 只是为了触发 CI
License
MIT © 7shifts
@7shifts/sous-chef
The 7shifts component library
Install
yarn add @7shifts/sous-chef
or
npm install --save @7shifts/sous-chef
Usage
import React, { Component } from 'react';
import { ResourceTable } from '@7shifts/sous-chef';
import '@7shifts/sous-chef/dist/index.css';
class Example extends Component {
items = [
{
employeeName: 'Steve Lawrence',
date: 'Jun 22, 2019',
hours: 15,
},
{
employeeName: 'Alex Andrade',
date: 'Jan 15, 2020',
hours: <span style={{ color: 'red' }}>8</span>,
},
];
render() {
return <ResourceTable items={items} />;
}
}
Documentation
You can find the components documentation in here. just to trigger a CI
License
MIT © 7shifts
更多
你可能也喜欢
- 2d-quadtree 中文文档教程
- @0xcert/erc721-validator 中文文档教程
- @0xcert/ethereum-bitski-frontend-provider 中文文档教程
- @0xproject/npm-cli-login 中文文档教程
- @11ty/eleventy-plugin-syntaxhighlight 中文文档教程
- @1eg/theme-editor-cli 中文文档教程
- @1hive/use-wallet 中文文档教程
- @1point7point4/add 中文文档教程
- @2now/gatsby-theme-minimal-blog 中文文档教程
- @3wks/generator-gae-node-nestjs 中文文档教程