File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -6,23 +6,24 @@ export interface SplitProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
6
6
className ?: string ;
7
7
prefixCls ?: string ;
8
8
/**
9
- * 拖拽宽度/高度变化回调函数,宽度或者高度根据 mode 参数来确定
9
+ * Drag width/height change callback function,
10
+ * the width or height is determined according to the mode parameter
10
11
*/
11
12
onDragging ?: ( preSize : number , nextSize : number , paneNumber : number ) => void ;
12
- /** 拖拽结束的回调函数 */
13
+ /** Callback function for dragging end */
13
14
onDragEnd ?: ( preSize : number , nextSize : number , paneNumber : number ) => void ;
14
- /** 支持自定义拖拽工具栏 */
15
+ /** Support custom drag and drop toolbar */
15
16
renderBar ?: ( props : React . HTMLAttributes < HTMLDivElement > ) => JSX . Element ;
16
- /** 设置拖拽的工具条,为线条样式。 */
17
+ /** Set the drag and drop toolbar as a line style. */
17
18
lineBar ?: boolean ;
18
- /** 设置拖拽的工具条,是否可见 */
19
+ /** Set the dragged toolbar, whether it is visible or not */
19
20
visiable ?: boolean | number [ ] ;
20
21
/**
21
- * 设置拖拽的工具条,禁用
22
+ * Set the drag and drop toolbar, disable
22
23
*/
23
24
disable ?: boolean | number [ ] ;
24
25
/**
25
- * 类型,可选值为 `horizontal` 或 `vertical`
26
+ * type, optional `horizontal` or `vertical`
26
27
*/
27
28
mode ?: 'horizontal' | 'vertical' ;
28
29
}
You can’t perform that action at this time.
0 commit comments