@antscorp/ama-ui 0.0.20 → 0.0.22
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/dist/ama-ui.es.js +2306 -1751
- package/dist/ama-ui.es.js.map +1 -1
- package/dist/index.d.ts +20 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Action } from 'antd-mobile/es/components/action-sheet';
|
|
2
|
+
import { ActionSheet as ActionSheet_2 } from 'antd-mobile';
|
|
2
3
|
import { ActionSheetProps as ActionSheetProps_2 } from 'antd-mobile';
|
|
4
|
+
import { ActionSheetShowHandler } from 'antd-mobile/es/components/action-sheet';
|
|
3
5
|
import { AutoCenter } from 'antd-mobile';
|
|
4
6
|
import { AutoCenterProps } from 'antd-mobile';
|
|
5
7
|
import { AvatarProps as AvatarProps_2 } from 'antd-mobile';
|
|
@@ -38,6 +40,7 @@ import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
|
|
|
38
40
|
import { PullToRefreshProps as PullToRefreshProps_2 } from 'antd-mobile';
|
|
39
41
|
import { RefAttributes } from 'react';
|
|
40
42
|
import { SafeAreaProps as SafeAreaProps_2 } from 'antd-mobile';
|
|
43
|
+
import { SegmentedProps as SegmentedProps_2 } from 'antd-mobile';
|
|
41
44
|
import { SideBar as SideBar_2 } from 'antd-mobile';
|
|
42
45
|
import { SideBarProps as SideBarProps_2 } from 'antd-mobile';
|
|
43
46
|
import { SpaceProps as SpaceProps_2 } from 'antd-mobile';
|
|
@@ -52,13 +55,21 @@ import { Toast } from 'antd-mobile';
|
|
|
52
55
|
import { ToastHandler } from 'antd-mobile/es/components/toast';
|
|
53
56
|
import { ToastShowProps } from 'antd-mobile';
|
|
54
57
|
|
|
55
|
-
export {
|
|
58
|
+
export { Action }
|
|
59
|
+
|
|
60
|
+
export declare const ActionSheet: ActionSheetType;
|
|
56
61
|
|
|
57
62
|
export declare interface ActionSheetProps extends ActionSheetProps_2 {
|
|
58
63
|
/** An optional prop */
|
|
59
64
|
optional?: string;
|
|
60
65
|
}
|
|
61
66
|
|
|
67
|
+
export { ActionSheetShowHandler }
|
|
68
|
+
|
|
69
|
+
declare type ActionSheetType = React.FC<ActionSheetProps> & {
|
|
70
|
+
show: typeof ActionSheet_2.show;
|
|
71
|
+
};
|
|
72
|
+
|
|
62
73
|
export { AutoCenter }
|
|
63
74
|
|
|
64
75
|
export { AutoCenterProps }
|
|
@@ -250,6 +261,13 @@ export declare interface SafeAreaProps extends SafeAreaProps_2 {
|
|
|
250
261
|
optional?: string;
|
|
251
262
|
}
|
|
252
263
|
|
|
264
|
+
export declare const Segmented: default_2.FC<SegmentedProps>;
|
|
265
|
+
|
|
266
|
+
export declare interface SegmentedProps extends SegmentedProps_2 {
|
|
267
|
+
/** An optional prop */
|
|
268
|
+
optional?: string;
|
|
269
|
+
}
|
|
270
|
+
|
|
253
271
|
export declare const SideBar: React.FC<SideBarProps> & {
|
|
254
272
|
Item: typeof SideBar_2.Item;
|
|
255
273
|
};
|