mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 21:48:19 +08:00
3ed7ec906e
* chore: remove useless tsx support * add * add * style * fix lint * fix lint * fix lint * update locale entry * update locale entry * update locale entry * delete useless style
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;
|