ant-design/components/anchor/index.tsx

17 lines
403 B
TypeScript
Raw Normal View History

import InternalAnchor from './Anchor';
2016-10-28 14:02:55 +08:00
import AnchorLink from './AnchorLink';
export { AnchorProps } from './Anchor';
export { AnchorLinkProps } from './AnchorLink';
type InternalAnchorType = typeof InternalAnchor;
type CompoundedComponent = InternalAnchorType & {
Link: typeof AnchorLink;
};
const Anchor = InternalAnchor as CompoundedComponent;
Anchor.Link = AnchorLink;
export default Anchor;