Skip to content

Commit a99a9ed

Browse files
chore(deps-dev): bump @umijs/fabric from 2.14.1 to 4.0.1 (#687)
* chore(deps-dev): bump @umijs/fabric from 2.14.1 to 4.0.1 Bumps [@umijs/fabric](https://github.com/umijs/fabric) from 2.14.1 to 4.0.1. - [Release notes](https://github.com/umijs/fabric/releases) - [Commits](umijs/fabric@v2.14.1...v4.0.1) --- updated-dependencies: - dependency-name: "@umijs/fabric" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * fix: fix lint --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lijianan <[email protected]>
1 parent 3f1eea6 commit a99a9ed

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/examples/indicator.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React from 'react';
2-
import Tabs from'../../src';
32
import '../../assets/index.less';
3+
import Tabs from '../../src';
44

55
export default () => {
6-
const [destroy, setDestroy] = React.useState(false);
7-
const [items, setItems] = React.useState([
6+
const [destroy] = React.useState(false);
7+
const [items] = React.useState([
88
{
99
label: 'Light',
1010
key: 'light',
@@ -29,7 +29,7 @@ export default () => {
2929

3030
return (
3131
<React.StrictMode>
32-
<Tabs tabBarExtraContent="extra" items={items} indicatorSize={(origin) => origin - 16} />
32+
<Tabs tabBarExtraContent="extra" items={items} indicatorSize={origin => origin - 16} />
3333
</React.StrictMode>
3434
);
3535
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@types/keyv": "4.2.0",
5757
"@types/react": "^17.0.14",
5858
"@types/react-dom": "^18.0.11",
59-
"@umijs/fabric": "^2.3.1",
59+
"@umijs/fabric": "^4.0.1",
6060
"coveralls": "^3.0.6",
6161
"cross-env": "^7.0.2",
6262
"dumi": "^2.0.0",

0 commit comments

Comments
 (0)