@ioca/react 1.2.1 → 1.2.2
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.
- package/lib/css/index.css +1 -1
- package/lib/css/index.css.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/index.d.ts +3 -0
- package/package.json +1 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -237,6 +237,7 @@ interface IDrawer extends HTMLAttributes<HTMLDivElement> {
|
|
|
237
237
|
hideCloseButton?: boolean;
|
|
238
238
|
backdropClosable?: boolean;
|
|
239
239
|
keepDOM?: boolean;
|
|
240
|
+
disabledEsc?: boolean;
|
|
240
241
|
onVisibleChange?: (visible: boolean) => void;
|
|
241
242
|
onClose?: () => void;
|
|
242
243
|
}
|
|
@@ -347,6 +348,7 @@ interface IForm extends HTMLAttributes<HTMLFormElement> {
|
|
|
347
348
|
rules?: {
|
|
348
349
|
[key: string]: boolean | TValidator | TRule;
|
|
349
350
|
};
|
|
351
|
+
columns?: number | string;
|
|
350
352
|
initialValues?: Record<string, any>;
|
|
351
353
|
width?: string | number;
|
|
352
354
|
gap?: string | number;
|
|
@@ -511,6 +513,7 @@ interface IModal extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
|
511
513
|
okButtonProps?: IButton;
|
|
512
514
|
cancelButtonProps?: IButton;
|
|
513
515
|
footerLeft?: ReactNode;
|
|
516
|
+
disableEsc?: boolean;
|
|
514
517
|
onVisibleChange?: (visible: boolean) => void;
|
|
515
518
|
onOk?: () => void | Promise<any>;
|
|
516
519
|
onClose?: () => void;
|