Skip to content

Commit b1287cf

Browse files
committed
docs: align readme badge layout
1 parent db8cb99 commit b1287cf

2 files changed

Lines changed: 18 additions & 38 deletions

File tree

README.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@
22
<h1>@rc-component/table</h1>
33
<p><sub><img alt="Ant Design" height="14" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" style="vertical-align: -0.125em;" /> Part of the Ant Design ecosystem.</sub></p>
44
<p>📋 Low-level table primitives for React, maintained in the Ant Design ecosystem.</p>
5+
6+
<p>
7+
<a href="https://npmjs.org/package/@rc-component/table"><img alt="NPM version" src="https://img.shields.io/npm/v/@rc-component/table.svg?style=flat-square"></a>
8+
<a href="https://npmjs.org/package/@rc-component/table"><img alt="npm downloads" src="https://img.shields.io/npm/dm/@rc-component/table.svg?style=flat-square"></a>
9+
<a href="https://github.com/react-component/table/actions/workflows/main.yml"><img alt="build status" src="https://github.com/react-component/table/actions/workflows/main.yml/badge.svg"></a>
10+
<a href="https://codecov.io/gh/react-component/table/branch/master"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/react-component/table/master.svg?style=flat-square"></a>
11+
<a href="https://bundlephobia.com/result?p=@rc-component/table"><img alt="bundle size" src="https://badgen.net/bundlephobia/minzip/@rc-component/table"></a>
12+
<a href="https://github.com/umijs/dumi"><img alt="dumi" src="https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square"></a>
13+
</p>
514
</div>
615

716
<p align="center">English | <a href="./README.zh-CN.md">简体中文</a></p>
817

9-
<div align="center">
10-
11-
[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url] [![build status][github-actions-image]][github-actions-url] [![Codecov][codecov-image]][codecov-url] [![bundle size][bundlephobia-image]][bundlephobia-url] [![dumi][dumi-image]][dumi-url]
12-
13-
</div>
14-
1518
## Highlights
1619

1720
- Flexible column, summary, fixed header, sticky, expandable row, and virtual table support.
@@ -194,16 +197,3 @@ This package is part of the React Component organization and is maintained along
194197
## License
195198

196199
@rc-component/table is released under the [MIT](./LICENSE) license.
197-
198-
[npm-image]: https://img.shields.io/npm/v/@rc-component/table.svg?style=flat-square
199-
[npm-url]: https://npmjs.org/package/@rc-component/table
200-
[github-actions-image]: https://github.com/react-component/table/actions/workflows/main.yml/badge.svg
201-
[github-actions-url]: https://github.com/react-component/table/actions/workflows/main.yml
202-
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/table/master.svg?style=flat-square
203-
[codecov-url]: https://codecov.io/gh/react-component/table/branch/master
204-
[download-image]: https://img.shields.io/npm/dm/@rc-component/table.svg?style=flat-square
205-
[download-url]: https://npmjs.org/package/@rc-component/table
206-
[bundlephobia-url]: https://bundlephobia.com/result?p=@rc-component/table
207-
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/table
208-
[dumi-url]: https://github.com/umijs/dumi
209-
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square

README.zh-CN.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@
22
<h1>@rc-component/table</h1>
33
<p><sub><img alt="Ant Design" height="14" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" style="vertical-align: -0.125em;" /> Ant Design 生态的一部分。</sub></p>
44
<p>📋 React 底层表格基础组件,服务于复杂数据展示。</p>
5+
6+
<p>
7+
<a href="https://npmjs.org/package/@rc-component/table"><img alt="NPM version" src="https://img.shields.io/npm/v/@rc-component/table.svg?style=flat-square"></a>
8+
<a href="https://npmjs.org/package/@rc-component/table"><img alt="npm downloads" src="https://img.shields.io/npm/dm/@rc-component/table.svg?style=flat-square"></a>
9+
<a href="https://github.com/react-component/table/actions/workflows/main.yml"><img alt="build status" src="https://github.com/react-component/table/actions/workflows/main.yml/badge.svg"></a>
10+
<a href="https://codecov.io/gh/react-component/table/branch/master"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/react-component/table/master.svg?style=flat-square"></a>
11+
<a href="https://bundlephobia.com/result?p=@rc-component/table"><img alt="bundle size" src="https://badgen.net/bundlephobia/minzip/@rc-component/table"></a>
12+
<a href="https://github.com/umijs/dumi"><img alt="dumi" src="https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square"></a>
13+
</p>
514
</div>
615

716
<p align="center"><a href="./README.md">English</a> | 简体中文</p>
817

9-
<div align="center">
10-
11-
[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url] [![build status][github-actions-image]][github-actions-url] [![Codecov][codecov-image]][codecov-url] [![bundle size][bundlephobia-image]][bundlephobia-url] [![dumi][dumi-image]][dumi-url]
12-
13-
</div>
14-
1518
## 特性
1619

1720
- 灵活的列、摘要、固定标题、粘性、可扩展行和虚拟表支持。
@@ -194,16 +197,3 @@ npm run prepublishOnly
194197
## 许可证
195198

196199
@rc-component/table 基于 [MIT](./LICENSE) 许可证发布。
197-
198-
[npm-image]: https://img.shields.io/npm/v/@rc-component/table.svg?style=flat-square
199-
[npm-url]: https://npmjs.org/package/@rc-component/table
200-
[github-actions-image]: https://github.com/react-component/table/actions/workflows/main.yml/badge.svg
201-
[github-actions-url]: https://github.com/react-component/table/actions/workflows/main.yml
202-
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/table/master.svg?style=flat-square
203-
[codecov-url]: https://codecov.io/gh/react-component/table/branch/master
204-
[download-image]: https://img.shields.io/npm/dm/@rc-component/table.svg?style=flat-square
205-
[download-url]: https://npmjs.org/package/@rc-component/table
206-
[bundlephobia-url]: https://bundlephobia.com/result?p=@rc-component/table
207-
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/table
208-
[dumi-url]: https://github.com/umijs/dumi
209-
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square

0 commit comments

Comments
 (0)