zy-react-library 1.0.142 → 1.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,9 +3,9 @@ import type { ForwardRefExoticComponent, RefAttributes } from "react";
|
|
|
3
3
|
|
|
4
4
|
export interface EditorProps {
|
|
5
5
|
/** 编辑器内容值 */
|
|
6
|
-
value
|
|
6
|
+
value?: string;
|
|
7
7
|
/** 内容改变回调 */
|
|
8
|
-
onChange
|
|
8
|
+
onChange?: (html: string) => void;
|
|
9
9
|
/** 是否禁用 */
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
}
|
package/hooks/useTable/index.js
CHANGED