mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
f0c105d262
* feat: remove the hardcode of `use client` * chore: update `@ant-design/tools` * test: update * fix: incorrect dictionary * chore: update dep * ci: check use client * chore: update ci * fix: should be LIB_DIR * ci: should only run in dist * chore: update check tsx files
17 lines
413 B
TypeScript
17 lines
413 B
TypeScript
import InternalAnchor from './Anchor';
|
|
import AnchorLink from './AnchorLink';
|
|
|
|
export type { AnchorProps } from './Anchor';
|
|
export type { AnchorLinkProps } from './AnchorLink';
|
|
|
|
type InternalAnchorType = typeof InternalAnchor;
|
|
|
|
type CompoundedComponent = InternalAnchorType & {
|
|
Link: typeof AnchorLink;
|
|
};
|
|
|
|
const Anchor = InternalAnchor as CompoundedComponent;
|
|
|
|
Anchor.Link = AnchorLink;
|
|
export default Anchor;
|