1
- # rc-table
1
+ # @ rc-component/ table
2
2
3
3
React table component with useful functions.
4
4
5
5
[ ![ NPM version] [ npm-image ]] [ npm-url ] [ ![ dumi] ( https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square )] ( https://github.com/umijs/dumi ) [ ![ build status] [ github-actions-image ]] [ github-actions-url ] [ ![ Test coverage] [ codecov-image ]] [ codecov-url ] [ ![ npm download] [ download-image ]] [ download-url ] [ ![ bundle size] [ bundlephobia-image ]] [ bundlephobia-url ]
6
6
7
- [ npm-image ] : http://img.shields.io/npm/v/rc-table.svg?style=flat-square
8
- [ npm-url ] : http://npmjs.org/package/rc-table
7
+ [ npm-image ] : http://img.shields.io/npm/v/@ rc-component/ table.svg?style=flat-square
8
+ [ npm-url ] : http://npmjs.org/package/@ rc-component/ table
9
9
[ github-actions-image ] : https://github.com/react-component/table/workflows/CI/badge.svg
10
10
[ github-actions-url ] : https://github.com/react-component/table/actions
11
11
[ coveralls-image ] : https://img.shields.io/coveralls/react-component/table.svg?style=flat-square
@@ -16,14 +16,14 @@ React table component with useful functions.
16
16
[ david-image ] : https://david-dm.org/react-component/table/status.svg?style=flat-square
17
17
[ david-dev-url ] : https://david-dm.org/react-component/table?type=dev
18
18
[ david-dev-image ] : https://david-dm.org/react-component/table/dev-status.svg?style=flat-square
19
- [ download-image ] : https://img.shields.io/npm/dm/rc-table.svg?style=flat-square
20
- [ download-url ] : https://npmjs.org/package/rc-table
21
- [ bundlephobia-url ] : https://bundlephobia.com/result?p=rc-table
22
- [ bundlephobia-image ] : https://badgen.net/bundlephobia/minzip/rc-table
19
+ [ download-image ] : https://img.shields.io/npm/dm/@ rc-component/ table.svg?style=flat-square
20
+ [ download-url ] : https://npmjs.org/package/@ rc-component/ table
21
+ [ bundlephobia-url ] : https://bundlephobia.com/result?p=@ rc-component/ table
22
+ [ bundlephobia-image ] : https://badgen.net/bundlephobia/minzip/@ rc-component/ table
23
23
24
24
## install
25
25
26
- [ ![ rc-table] ( https://nodei.co/npm/rc-table.png )] ( https://npmjs.org/package/rc-table )
26
+ [ ![ @ rc-component/ table ] ( https://nodei.co/npm/@ rc-component/ table.png )] ( https://npmjs.org/package/@ rc-component/ table )
27
27
28
28
## Development
29
29
@@ -39,7 +39,7 @@ https://table-react-component.vercel.app/
39
39
## Usage
40
40
41
41
``` js
42
- import Table from ' rc-table' ;
42
+ import Table from ' @ rc-component/ table' ;
43
43
44
44
const columns = [
45
45
{
@@ -83,7 +83,7 @@ React.render(<Table columns={columns} data={data} />, mountNode);
83
83
| Name | Type | Default | Description |
84
84
| --- | --- | --- | --- |
85
85
| tableLayout | ` auto ` \| ` fixed ` | ` auto ` \| ` fixed ` for any columns is fixed or ellipsis or header is fixed | https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout |
86
- | prefixCls | String | rc-table | |
86
+ | prefixCls | String | ` rc-table ` | |
87
87
| className | String | | additional className |
88
88
| id | String | | identifier of the container div |
89
89
| useFixedHeader | Boolean | false | whether use separator table for header. better set width for columns |
@@ -158,4 +158,4 @@ React.render(<Table columns={columns} data={data} />, mountNode);
158
158
159
159
## License
160
160
161
- rc-table is released under the MIT license.
161
+ @ rc-component/ table is released under the MIT license.
0 commit comments