bhd-components 0.5.3 → 0.5.4

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.
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { ModalFuncProps } from "antd";
3
- interface BhdTipModalProps extends ModalFuncProps {
3
+ interface BhdTipModalProps {
4
4
  confirm: (obj: CustomModalParams) => any;
5
5
  success: (obj: CustomModalParams) => any;
6
6
  custom: (obj: CustomModalParams) => any;
@@ -9,13 +9,13 @@ interface BhdTipModalProps extends ModalFuncProps {
9
9
  destroyAll: () => any;
10
10
  destroy: () => any;
11
11
  }
12
- interface CustomModalParams {
12
+ interface CustomModalParams extends ModalFuncProps {
13
13
  title: string;
14
14
  content: React.ReactNode;
15
15
  cancelBtn?: boolean;
16
16
  okText?: string;
17
17
  keyboard?: boolean;
18
- cancelText?: boolean;
18
+ cancelText?: string;
19
19
  bgColor?: string;
20
20
  imgUrl?: string;
21
21
  imgStyle?: object;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { ModalFuncProps } from "antd";
3
- interface BhdTipModalProps extends ModalFuncProps {
3
+ interface BhdTipModalProps {
4
4
  confirm: (obj: CustomModalParams) => any;
5
5
  success: (obj: CustomModalParams) => any;
6
6
  custom: (obj: CustomModalParams) => any;
@@ -9,13 +9,13 @@ interface BhdTipModalProps extends ModalFuncProps {
9
9
  destroyAll: () => any;
10
10
  destroy: () => any;
11
11
  }
12
- interface CustomModalParams {
12
+ interface CustomModalParams extends ModalFuncProps {
13
13
  title: string;
14
14
  content: React.ReactNode;
15
15
  cancelBtn?: boolean;
16
16
  okText?: string;
17
17
  keyboard?: boolean;
18
- cancelText?: boolean;
18
+ cancelText?: string;
19
19
  bgColor?: string;
20
20
  imgUrl?: string;
21
21
  imgStyle?: object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "组件功能描述",
5
5
  "files": [
6
6
  "esm",