UNPKG

918 BTypeScriptView Raw
1import * as React from 'react';
2import { PickOptional } from '../../helpers/typeUtils';
3export interface SkipToContentProps extends React.HTMLProps<HTMLAnchorElement> {
4 /** The skip to content link. */
5 href: string;
6 /** Content to display within the skip to content component, typically a string. */
7 children?: React.ReactNode;
8 /** Additional styles to apply to the skip to content component. */
9 className?: string;
10 /** Forces the skip to content to display. This is primarily for demonstration purposes and would not normally be used. */
11 show?: boolean;
12}
13export declare class SkipToContent extends React.Component<SkipToContentProps> {
14 static displayName: string;
15 static defaultProps: PickOptional<SkipToContentProps>;
16 componentRef: React.RefObject<HTMLAnchorElement>;
17 componentDidMount(): void;
18 render(): JSX.Element;
19}
20//# sourceMappingURL=SkipToContent.d.ts.map
\No newline at end of file