@cloudtower/eagle 0.33.41 → 0.33.43

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,7 +1,5 @@
1
- import { InputProps } from "antd/lib/input";
2
1
  import React from "react";
3
- declare const Input: React.FC<InputProps & {
4
- error?: boolean;
5
- }>;
2
+ import { InputProps } from "./input.type";
3
+ declare const Input: React.FC<InputProps>;
6
4
  export default Input;
7
5
  export * from "./input.type";
@@ -1,3 +1,4 @@
1
+ import { InputProps as AntdInputProps } from "antd/lib/input";
1
2
  export interface AdditionOptions {
2
3
  /**
3
4
  * 使用变量控制是否显示 error 效果
@@ -12,3 +13,6 @@ export interface AdditionOptions {
12
13
  */
13
14
  suffix?: string;
14
15
  }
16
+ export type InputProps = AntdInputProps & {
17
+ error?: boolean;
18
+ };
@@ -2,9 +2,7 @@
2
2
  import Input from "../../../src/core/Input";
3
3
  import { CoreMeta } from "../../types";
4
4
  import { StoryObj } from "@storybook/react";
5
- declare const _default: CoreMeta<import("react").FC<import("antd/lib/input").InputProps & {
6
- error?: boolean | undefined;
7
- }>>;
5
+ declare const _default: CoreMeta<import("react").FC<import("../../../src/core/Input").InputProps>>;
8
6
  export default _default;
9
7
  type Story = StoryObj<typeof Input>;
10
8
  export declare const NumberInput: Story;