@atlaskit/page-layout
Version:
A collection of components which let you compose an application's page layout.
21 lines (20 loc) • 774 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type ReactNode } from 'react';
import { jsx } from '@emotion/react';
import { type SkipLinkWrapperProps } from './types';
/**
* The default label will be used when the `skipLinksLabel` attribute is not
* provided or the attribute is an empty string. If a string comprised only of
* spaces is provided, the skip link heading element will be removed, but the
* default label will still be used in `title` attribute of the skip links
* themselves.
*/
export declare const SkipLinkWrapper: ({ skipLinksLabel }: SkipLinkWrapperProps) => jsx.JSX.Element | null;
export declare const SkipLink: ({ href, children, isFocusable, }: {
href: string;
children: ReactNode;
isFocusable: boolean;
}) => jsx.JSX.Element;