@cloudtower/eagle 0.28.9 → 0.28.11

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.
@@ -0,0 +1,7 @@
1
+ import { AnchorLinkProps, AnchorProps } from "antd5";
2
+ import { FC } from "react";
3
+ export type Antd5AnchorComponentType = FC<AnchorProps> & {
4
+ Link: FC<AnchorLinkProps>;
5
+ };
6
+ export type Antd5AnchorProps = AnchorProps;
7
+ export type Antd5AnchorLinkProps = AnchorLinkProps;
@@ -0,0 +1,4 @@
1
+ import { Antd5AnchorComponentType } from "./Antd5Anchor.type";
2
+ declare const Antd5Anchor: Antd5AnchorComponentType;
3
+ export default Antd5Anchor;
4
+ export * from "./Antd5Anchor.type";
@@ -1,5 +1,6 @@
1
1
  export * from "./AccordionCard";
2
2
  export * from "./Alert";
3
+ export * from "./Antd5Anchor";
3
4
  export * from "./Antd5Dropdown";
4
5
  export * from "./Arch";
5
6
  export * from "./Badge";
@@ -97,6 +98,7 @@ export declare const units: {
97
98
  export { units as Units };
98
99
  export { default as AccordionCard } from "./AccordionCard";
99
100
  export { default as Alert } from "./Alert";
101
+ export { default as Antd5Anchor } from "./Antd5Anchor";
100
102
  export { default as Arch } from "./Arch";
101
103
  export { default as Avatar } from "./Avatar";
102
104
  export { default as Badge } from "./Badge";
@@ -0,0 +1,13 @@
1
+ import { Antd5AnchorProps } from "../../../src/core";
2
+ import { Meta, StoryObj } from "@storybook/react";
3
+ import React from "react";
4
+ type Story = StoryObj<React.FC<Antd5AnchorProps>>;
5
+ /**
6
+ * Antd5Anchor 是 antd5 的 Anchor 组件。
7
+ *
8
+ * 详细用法参考:https://ant.design/components/anchor-cn
9
+ * API 保持一致
10
+ */
11
+ declare const meta: Meta<React.FC<Antd5AnchorProps>>;
12
+ export default meta;
13
+ export declare const Basic: Story;