@cloudtower/eagle 0.32.6 → 0.32.8

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,14 +1,14 @@
1
1
  import { ParrotI18nSupportLng } from "@cloudtower/parrot";
2
2
  import { BatchHelper } from "../core";
3
- import { MessageApi } from "../core/message";
3
+ import { ConfigOptions as MessageConfigOptions, MessageApi } from "../core/message";
4
4
  import React, { PropsWithChildren } from "react";
5
- import { Kit } from "../spec";
6
5
  import { ConfigProps } from "../core/ConfigProvider";
6
+ import { Kit } from "../spec";
7
+ type MessageConfigOptionsType = MessageConfigOptions;
7
8
  export interface IProps {
8
9
  kit?: Kit;
9
- message?: {
10
+ message?: MessageConfigOptionsType & {
10
11
  batch?: BatchHelper;
11
- maxCount?: number;
12
12
  };
13
13
  lng?: ParrotI18nSupportLng;
14
14
  config?: ConfigProps;
@@ -15,6 +15,9 @@ declare const meta: {
15
15
  maxCount: {
16
16
  name: "boolean";
17
17
  };
18
+ top: {
19
+ name: "number";
20
+ };
18
21
  };
19
22
  };
20
23
  description: string;
@@ -27,4 +30,5 @@ export declare const BasicInfo: Story;
27
30
  export declare const BasicWarning: Story;
28
31
  export declare const BasicError: Story;
29
32
  export declare const MaxCount: Story;
33
+ export declare const CustomTopPosition: Story;
30
34
  export declare const BatchMessage: Story;