UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

11 lines (10 loc) 932 B
import type { ReactElement, KeyboardEvent } from 'react'; export declare const getSectionById: (sections: any, id: any) => string | number | bigint | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | Promise<string | number | bigint | boolean | import("react").ReactPortal | ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>>; export declare const getSectionElementById: (objectPage: HTMLDivElement, isSubSection: boolean, id: string | undefined) => HTMLElement; interface NavigateSectionParam { e: KeyboardEvent<HTMLDivElement>; onKeyDown: (e: KeyboardEvent<HTMLDivElement>) => void; componentName: 'ObjectPageSection' | 'ObjectPageSubSection'; } export declare function navigateSections({ e, onKeyDown, componentName }: NavigateSectionParam): void; export {};