@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
24 lines (23 loc) • 825 B
TypeScript
import type { ReactNode } from 'react';
import type { ButtonProps } from '../button/Button';
export type SkipContentProps = {
/**
* Define an existing HTML element selector to focus when the inner button got pressed.
*/
selector: string;
/**
* Define a clear message describing the choices the user has.
*/
text?: ReactNode;
/**
* Defines the delay after the enter key has been pressed.
*/
focusDelay?: number;
};
export type SkipContentAllProps = SkipContentProps & ButtonProps;
declare const SkipContent: {
(localProps: SkipContentAllProps): import("react/jsx-runtime").JSX.Element;
Return: (localProps: SkipContentReturnProps) => import("react/jsx-runtime").JSX.Element;
};
export type SkipContentReturnProps = SkipContentAllProps;
export default SkipContent;