Files
documentation/node_modules/@docusaurus/theme-common/lib/utils/skipToContentUtils.d.ts
2024-03-22 03:47:51 +05:30

20 lines
878 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { type ComponentProps } from 'react';
/**
* The id of the element that should become focused on a page
* that does not have a <main> html tag.
* Focusing the Docusaurus Layout children is a reasonable fallback.
*
* __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors
* https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368
*/
export declare const SkipToContentFallbackId = "__docusaurus_skipToContent_fallback";
type SkipToContentLinkProps = Omit<ComponentProps<'a'>, 'href' | 'onClick'>;
export declare function SkipToContentLink(props: SkipToContentLinkProps): JSX.Element;
export {};
//# sourceMappingURL=skipToContentUtils.d.ts.map