Skip to content

Commit 1335cf2

Browse files
author
yingying.xwy
committed
fix(interface): 修复类型定义
1 parent e23190a commit 1335cf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/s2-react/src/components/sheets/interface.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ export interface BaseSheetComponentProps {
101101
onListSort?: (params: ListSortParams) => void;
102102
onRowColLayout?: (rows: LayoutRow[], cols: LayoutCol[]) => void;
103103
onAfterHeaderLayout?: (layoutResult: LayoutResult) => void;
104-
onCollapseRows(collapsedRows: Record<string, boolean>);
105-
onCollapseRowsAll(hierarchyCollapse: boolean);
104+
onCollapseRows?: (collapsedRows: Record<string, boolean>) => void;
105+
onCollapseRowsAll?: (hierarchyCollapse: boolean) => void;
106106
onRowCellScroll?: (reachedRow: TargetLayoutNode) => void;
107107
onColCellScroll?: (reachedCol: TargetLayoutNode) => void;
108108
onCellScroll?: (position: CellScrollPosition) => void;

0 commit comments

Comments
 (0)