///
import * as React from 'react';
import PropTypes from 'prop-types';
import AnchorLink from './AnchorLink';
export declare type AnchorContainer = HTMLElement | Window;
export interface AnchorProps {
prefixCls?: string;
className?: string;
style?: React.CSSProperties;
children?: React.ReactNode;
offsetTop?: number;
bounds?: number;
affix?: boolean;
showInkInFixed?: boolean;
getContainer?: () => AnchorContainer;
}
export interface AnchorDefaultProps extends AnchorProps {
prefixCls: string;
affix: boolean;
showInkInFixed: boolean;
getContainer: () => AnchorContainer;
}
export default class Anchor extends React.Component {
static Link: typeof AnchorLink;
static defaultProps: {
prefixCls: string;
affix: boolean;
showInkInFixed: boolean;
getContainer: () => Window;
};
static childContextTypes: {
antAnchor: PropTypes.Requireable