@lemon-fe/components 0.1.72 → 0.1.74
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/es/Popup/index.d.ts +5 -0
- package/package.json +2 -2
package/es/Popup/index.d.ts
CHANGED
|
@@ -24,5 +24,10 @@ export interface PopupProps<ValueType> extends ModalProps {
|
|
|
24
24
|
bordered?: boolean;
|
|
25
25
|
onClick?: () => void;
|
|
26
26
|
}
|
|
27
|
+
interface ValuedPopupProps<ValueType> extends Omit<PopupProps<ValueType>, 'value' | 'onChange' | 'allowClear'> {
|
|
28
|
+
value: ValueType;
|
|
29
|
+
onChange?: (value: ValueType) => void;
|
|
30
|
+
}
|
|
31
|
+
declare function Popup<ValueType>(props: ValuedPopupProps<ValueType>): JSX.Element;
|
|
27
32
|
declare function Popup<ValueType>(props: PopupProps<ValueType>): JSX.Element;
|
|
28
33
|
export default Popup;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.74",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "鲁盛杰 <lusj@cnlemon.net>",
|
|
6
6
|
"homepage": "",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"react": "^17.0.2",
|
|
42
42
|
"react-dom": "^17.0.2"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "4ee13e359f887a2e5baf92cfbf18e4b8eba8f200"
|
|
45
45
|
}
|