@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
10 lines (9 loc) • 489 B
TypeScript
import React from "react";
import { DescendantsManager } from "../../../util/hooks/descendants/descendant";
interface RovingFocusProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "tabIndex"> {
asChild?: boolean;
descendants: DescendantsManager<HTMLDivElement, any>;
onEntryFocus?: (event: Event) => void;
}
declare const RovingFocus: React.ForwardRefExoticComponent<RovingFocusProps & React.RefAttributes<HTMLDivElement>>;
export { RovingFocus, type RovingFocusProps };