You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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;
|