UNPKG

oui-antd

Version:

An enterprise-class UI design language and React-based implementation

26 lines (25 loc) 681 B
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; componentWillReceiveProps(nextProps: AnchorLinkProps): void; componentWillUnmount(): void; handleClick: () => void; render(): JSX.Element; }