assui 3.2.82 → 3.2.83
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.
|
@@ -43,7 +43,7 @@ import Drawer from "antd/es/drawer";
|
|
|
43
43
|
import isFunction from 'lodash/isFunction';
|
|
44
44
|
import classNames from 'classnames';
|
|
45
45
|
import CloseOutlined from "a-icons/es/CloseOutlined";
|
|
46
|
-
import
|
|
46
|
+
import useControllableValue from "ahooks/es/useControllableValue";
|
|
47
47
|
var ButtonDrawer = function ButtonDrawer(props, ref) {
|
|
48
48
|
var _a = __read(useControllableValue(props, {
|
|
49
49
|
valuePropName: 'open',
|
package/es/button-modal/index.js
CHANGED
|
@@ -42,7 +42,7 @@ import * as React from 'react';
|
|
|
42
42
|
import isFunction from 'lodash/isFunction';
|
|
43
43
|
import Modal from "antd/es/modal";
|
|
44
44
|
import CloseOutlined from "a-icons/es/CloseOutlined";
|
|
45
|
-
import
|
|
45
|
+
import useControllableValue from "ahooks/es/useControllableValue";
|
|
46
46
|
var ButtonModal = function ButtonModal(props, ref) {
|
|
47
47
|
var _a = __read(useControllableValue(props, {
|
|
48
48
|
valuePropName: 'open',
|
|
@@ -84,9 +84,9 @@ var drawer_1 = __importDefault(require("antd/lib/drawer"));
|
|
|
84
84
|
var isFunction_1 = __importDefault(require("lodash/isFunction"));
|
|
85
85
|
var classnames_1 = __importDefault(require("classnames"));
|
|
86
86
|
var CloseOutlined_1 = __importDefault(require("a-icons/lib/CloseOutlined"));
|
|
87
|
-
var
|
|
87
|
+
var useControllableValue_1 = __importDefault(require("ahooks/lib/useControllableValue"));
|
|
88
88
|
var ButtonDrawer = function ButtonDrawer(props, ref) {
|
|
89
|
-
var _a = __read((0,
|
|
89
|
+
var _a = __read((0, useControllableValue_1["default"])(props, {
|
|
90
90
|
valuePropName: 'open',
|
|
91
91
|
defaultValue: false
|
|
92
92
|
}), 2),
|
|
@@ -83,9 +83,9 @@ var React = __importStar(require("react"));
|
|
|
83
83
|
var isFunction_1 = __importDefault(require("lodash/isFunction"));
|
|
84
84
|
var modal_1 = __importDefault(require("antd/lib/modal"));
|
|
85
85
|
var CloseOutlined_1 = __importDefault(require("a-icons/lib/CloseOutlined"));
|
|
86
|
-
var
|
|
86
|
+
var useControllableValue_1 = __importDefault(require("ahooks/lib/useControllableValue"));
|
|
87
87
|
var ButtonModal = function ButtonModal(props, ref) {
|
|
88
|
-
var _a = __read((0,
|
|
88
|
+
var _a = __read((0, useControllableValue_1["default"])(props, {
|
|
89
89
|
valuePropName: 'open',
|
|
90
90
|
defaultValue: false
|
|
91
91
|
}), 2),
|