Skip to content

Commit 20484b7

Browse files
committed
docs: update README
1 parent c12ff4e commit 20484b7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# rc-table
1+
# @rc-component/table
22

33
React table component with useful functions.
44

55
[![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]
66

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
99
[github-actions-image]: https://github.com/react-component/table/workflows/CI/badge.svg
1010
[github-actions-url]: https://github.com/react-component/table/actions
1111
[coveralls-image]: https://img.shields.io/coveralls/react-component/table.svg?style=flat-square
@@ -16,14 +16,14 @@ React table component with useful functions.
1616
[david-image]: https://david-dm.org/react-component/table/status.svg?style=flat-square
1717
[david-dev-url]: https://david-dm.org/react-component/table?type=dev
1818
[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
2323

2424
## install
2525

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)
2727

2828
## Development
2929

@@ -39,7 +39,7 @@ https://table-react-component.vercel.app/
3939
## Usage
4040

4141
```js
42-
import Table from 'rc-table';
42+
import Table from '@rc-component/table';
4343

4444
const columns = [
4545
{
@@ -83,7 +83,7 @@ React.render(<Table columns={columns} data={data} />, mountNode);
8383
| Name | Type | Default | Description |
8484
| --- | --- | --- | --- |
8585
| 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` | |
8787
| className | String | | additional className |
8888
| id | String | | identifier of the container div |
8989
| 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);
158158

159159
## License
160160

161-
rc-table is released under the MIT license.
161+
@rc-component/table is released under the MIT license.

0 commit comments

Comments
 (0)