Skip to content

Commit 2b96da4

Browse files
TaueFenChengtjq
andauthored
docs: fix online demo link (#507)
Co-authored-by: tjq <[email protected]>
1 parent fc474f7 commit 2b96da4

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,10 @@ React Tooltip
1313
[npm-url]: http://npmjs.org/package/rc-tooltip
1414
[travis-image]: https://img.shields.io/travis/react-component/tooltip/master?style=flat-square
1515
[travis-url]: https://travis-ci.com/react-component/tooltip
16-
[github-actions-image]: https://github.com/react-component/tooltip/workflows/CI/badge.svg
17-
[github-actions-url]: https://github.com/react-component/tooltip/actions
16+
[github-actions-image]: https://github.com/react-component/tooltip/actions/workflows/react-component-ci.yml/badge.svg
17+
[github-actions-url]: https://github.com/react-component/tooltip/actions/workflows/react-component-ci.yml
1818
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/tooltip/master.svg?style=flat-square
1919
[codecov-url]: https://app.codecov.io/gh/react-component/tooltip
20-
[david-url]: https://david-dm.org/react-component/tooltip
21-
[david-image]: https://david-dm.org/react-component/tooltip/status.svg?style=flat-square
22-
[david-dev-url]: https://david-dm.org/react-component/tooltip?type=dev
23-
[david-dev-image]: https://david-dm.org/react-component/tooltip/dev-status.svg?style=flat-square
2420
[download-image]: https://img.shields.io/npm/dm/rc-tooltip.svg?style=flat-square
2521
[download-url]: https://npmjs.org/package/rc-tooltip
2622
[bundlephobia-url]: https://bundlephobia.com/package/rc-tooltip
@@ -66,7 +62,7 @@ ReactDOM.render(
6662
`npm start` and then go to
6763
<http://localhost:8000/demo>
6864

69-
Online demo: <https://react-component.github.io/tooltip/demo>
65+
Online demo: https://tooltip-react-component.vercel.app/
7066

7167
## API
7268

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"@types/react": "^19.1.4",
5555
"@types/react-dom": "^19.1.5",
5656
"@types/warning": "^3.0.0",
57-
"cross-env": "^7.0.0",
5857
"dumi": "^2.2.13",
5958
"eslint": "^8.56.0",
6059
"eslint-plugin-unicorn": "^55.0.0",

vercel.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
{
2-
"framework": "umijs"
3-
}
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"version": 2,
4+
"name": "@rc-component/tooltip",
5+
"builds": [
6+
{
7+
"src": "package.json",
8+
"use": "@vercel/static-build",
9+
"config": {
10+
"distDir": "dist"
11+
}
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)