Skip to content

Commit

Permalink
Merge pull request #2579 from XiaoMi/hotfix/remove-resizebox
Browse files Browse the repository at this point in the history
fix(hiui): remove resizebox
  • Loading branch information
solarjoker authored Sep 4, 2023
2 parents e4b0d4a + 42050a0 commit ad812c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/ui/hiui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
"@hi-ui/provider": "^4.0.5",
"@hi-ui/radio": "^4.0.4",
"@hi-ui/rating": "^4.0.5",
"@hi-ui/resize-box": "^4.0.0",
"@hi-ui/result": "^4.0.4",
"@hi-ui/scrollbar": "^4.0.1",
"@hi-ui/search": "^4.0.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/hiui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ export { default as Radio } from '@hi-ui/radio'
export * from '@hi-ui/rating'
export { default as Rating } from '@hi-ui/rating'

export * from '@hi-ui/resize-box'
export { default as ResizeBox } from '@hi-ui/resize-box'
// export * from '@hi-ui/resize-box'
// export { default as ResizeBox } from '@hi-ui/resize-box'

export * from '@hi-ui/result'
export { default as Result } from '@hi-ui/result'
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/table/src/hooks/use-col-width.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const useColWidth = ({
columns: TableColumnItem[]
virtual?: boolean
}) => {
const measureRowElementRef = React.useRef<Element | null>(null)
const measureRowElementRef = React.useRef<HTMLTableRowElement | null>(null)
const [colWidths, setColWidths] = React.useState(() => {
return getGroupItemWidth(columns)
})
Expand Down

0 comments on commit ad812c5

Please sign in to comment.