mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
ae62ef7087
* fix(types): external module type error (CompoundedComponent) * feat(types): export CountdownProps
17 lines
403 B
TypeScript
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;
|
|
|
|
type CompoundedComponent = InternalAnchorType & {
|
|
Link: typeof AnchorLink;
|
|
};
|
|
|
|
const Anchor = InternalAnchor as CompoundedComponent;
|
|
|
|
Anchor.Link = AnchorLink;
|
|
export default Anchor;
|