Skip to content

Commit 61ffe3c

Browse files
author
刘欢
committed
docs: midify readme
1 parent 999dd67 commit 61ffe3c

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

README.md

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

33
React Upload
44

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

7-
[npm-image]: http://img.shields.io/npm/v/rc-upload.svg?style=flat-square
8-
[npm-url]: http://npmjs.org/package/rc-upload
7+
[npm-image]: http://img.shields.io/npm/v/@rc-component/upload.svg?style=flat-square
8+
[npm-url]: http://npmjs.org/package/@rc-component/upload
99
[travis-image]: https://img.shields.io/travis/react-component/upload/master?style=flat-square
1010
[travis-url]: https://travis-ci.com/react-component/upload
1111
[github-actions-image]: https://github.com/react-component/upload/workflows/CI/badge.svg
@@ -16,10 +16,10 @@ React Upload
1616
[david-image]: https://david-dm.org/react-component/upload/status.svg?style=flat-square
1717
[david-dev-url]: https://david-dm.org/react-component/upload?type=dev
1818
[david-dev-image]: https://david-dm.org/react-component/upload/dev-status.svg?style=flat-square
19-
[download-image]: https://img.shields.io/npm/dm/rc-upload.svg?style=flat-square
20-
[download-url]: https://npmjs.org/package/rc-upload
21-
[bundlephobia-url]: https://bundlephobia.com/package/rc-upload
22-
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-upload
19+
[download-image]: https://img.shields.io/npm/dm/@rc-component/upload.svg?style=flat-square
20+
[download-url]: https://npmjs.org/package/@rc-component/upload
21+
[bundlephobia-url]: https://bundlephobia.com/package/@rc-component/upload
22+
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/upload
2323
[dumi-url]: https://github.com/umijs/dumi
2424
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
2525

@@ -42,7 +42,7 @@ online example: https://upload.react-component.vercel.app/
4242

4343
## install
4444

45-
[![rc-upload](https://nodei.co/npm/rc-upload.png)](https://npmjs.org/package/rc-upload)
45+
[![@rc-component/upload](https://nodei.co/npm/@rc-component/upload.png)](https://npmjs.org/package/@rc-component/upload)
4646

4747
## Usage
4848

@@ -115,4 +115,4 @@ abort(file?: File) => void: abort the uploading file
115115

116116
## License
117117

118-
rc-upload is released under the MIT license.
118+
@rc-component/upload is released under the MIT license.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: rc-upload
2+
title: @rc-component/upload
33
---
44

55
<embed src="../README.md"></embed>

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"test": "rc-test"
3838
},
3939
"dependencies": {
40-
"@babel/runtime": "^7.18.3",
4140
"@rc-component/util": "^1.3.0",
4241
"classnames": "^2.2.5"
4342
},

0 commit comments

Comments
 (0)