dtd
Version:
根据数梦工场视觉规范打造的组件库,感谢react-components和ant design
25 lines (24 loc) • 616 B
TypeScript
import * as React from 'react';
import * as PropTypes from 'prop-types';
export interface AnchorLinkProps {
prefixCls?: string;
href: string;
title: React.ReactNode;
children?: any;
}
export default class AnchorLink extends React.Component<AnchorLinkProps, any> {
static defaultProps: {
prefixCls: string;
href: string;
};
static contextTypes: {
antAnchor: PropTypes.Requireable<object>;
};
context: {
antAnchor: any;
};
componentDidMount(): void;
componentWillUnmount(): void;
handleClick: () => void;
render(): JSX.Element;
}