ant-design/components/anchor/index.tsx
Long Hao (龙濠) eb7f8c7ef1
refactor: change anchor to fc for the cssinjs prepare (#35073)
* refactor: change anchor to fc for the cssinjs prepare

* fix: fix anchor test
2022-04-19 16:44:47 +08:00

17 lines
403 B
TypeScript

import InternalAnchor from './Anchor';
import AnchorLink from './AnchorLink';
export { AnchorProps } from './Anchor';
export { AnchorLinkProps } from './AnchorLink';
type InternalAnchorType = typeof InternalAnchor;
interface AnchorInterface extends InternalAnchorType {
Link: typeof AnchorLink;
}
const Anchor = InternalAnchor as AnchorInterface;
Anchor.Link = AnchorLink;
export default Anchor;