@antscorp/ama-ui 0.0.21 → 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/index.d.ts CHANGED
@@ -40,6 +40,7 @@ import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
40
40
  import { PullToRefreshProps as PullToRefreshProps_2 } from 'antd-mobile';
41
41
  import { RefAttributes } from 'react';
42
42
  import { SafeAreaProps as SafeAreaProps_2 } from 'antd-mobile';
43
+ import { SegmentedProps as SegmentedProps_2 } from 'antd-mobile';
43
44
  import { SideBar as SideBar_2 } from 'antd-mobile';
44
45
  import { SideBarProps as SideBarProps_2 } from 'antd-mobile';
45
46
  import { SpaceProps as SpaceProps_2 } from 'antd-mobile';
@@ -260,6 +261,13 @@ export declare interface SafeAreaProps extends SafeAreaProps_2 {
260
261
  optional?: string;
261
262
  }
262
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
+
263
271
  export declare const SideBar: React.FC<SideBarProps> & {
264
272
  Item: typeof SideBar_2.Item;
265
273
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/ama-ui",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "main": "dist/ama-ui.es.js",
5
5
  "module": "dist/ama-ui.es.js",
6
6
  "types": "dist/index.d.ts",