Skip to content

Commit

Permalink
Merge branch 'feature' of github.com:oceanbase/oceanbase-design into …
Browse files Browse the repository at this point in the history
…hjg-style
  • Loading branch information
Vanleehao committed Feb 4, 2024
2 parents 973e3fc + 58b8c0f commit 8604e44
Show file tree
Hide file tree
Showing 4 changed files with 4,627 additions and 13,811 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"rc-footer": "^0.6.8",
"rc-resize-observer": "^1.4.0",
"rc-segmented": "^2.2.2",
"rc-tabs": "^12.13.1",
"rc-tabs": "^14.0.0",
"rc-util": "^5.38.1",
"react": "^18.2.0",
"react-color": "^2.19.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@babel/preset-env": "^7.23.6",
"antd-token-previewer": "^2.0.5",
"rc-select": "^14.10.0",
"rc-table": "^7.35.2"
"rc-table": "^7.38.1"
},
"peerDependencies": {
"react": ">=16.9.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/design/src/_util/genComponentStyleHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export function genComponentStyleHook(
token => {
return [styleFn(token)];
},
getDefaultToken
getDefaultToken,
{
resetStyle: false,
}
);
const [wrapSSR] = useStyle(prefixCls);
// use hashId from useToken, as hashId is '' when hashed is false
Expand Down
Loading

0 comments on commit 8604e44

Please sign in to comment.