UNPKG

@progress/kendo-react-layout

Version:

React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package

64 lines (63 loc) 2.44 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { PanelBarState } from './PanelBar.js'; import { RenderPanelBarItem } from './interfaces/RenderPanelBarItem'; import { PanelBarItemProps } from '../index.js'; import { PanelBarExpandMode } from './interfaces/PanelBarProps'; import { NavigationAction } from './interfaces/NavigationAction.js'; import * as React from 'react'; /** * @hidden */ export declare const renderChildren: ({ animation, keepItemsMounted, state, expanded, handleSelect, children, parentExpanded, level, parentPrivateKey, activeDescendantRef }: RenderPanelBarItem) => React.ReactNode; /** * @hidden */ export declare const getFirstId: (props: any) => any; /** * @hidden */ export declare const getInitialState: (props: any, expandMode: PanelBarExpandMode, result?: PanelBarState, parentExpanded?: boolean, parentPrivateKey?: string[]) => PanelBarState; /** * @hidden */ export declare function flatVisibleItems(data: any, flattedItems?: any[]): any[]; /** * @hidden */ export declare function flatChildren(children: any, flattenChildren?: any[]): any[]; /** * @hidden */ export declare function flatVisibleChildren(children: any, flattenVisibleChildren?: any[]): any[]; /** * @hidden */ export declare const isPresent: (value: any) => boolean; /** * Represents the PanelBarUtils functions. */ export declare namespace PanelBarUtils { /** * Maps a collection of PanelBarItemProps to PanelBarItem components * ([see example](https://www.telerik.com/kendo-react-ui/components/layout/panelbar/customization)). * Contained in the `PanelBarUtils` object. * * @param items - A collection of PanelBarItemProps. * @return {PanelBarItem[]} Returns an array of PanelBarItem components. */ function mapItemsToComponents(items: Array<PanelBarItemProps>): React.ReactNode[]; } /** * @hidden */ export declare const isArrayEqual: (firstArray: any[], secondArray: any[]) => boolean; /** * @hidden */ export declare const getFocusedChild: (flattenChildren: any, step: number, event: any, focused?: string, action?: NavigationAction) => any;