UNPKG

@progress/kendo-react-layout

Version:

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

28 lines (27 loc) 1.15 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 { DrawerAnimation } from '../interfaces/DrawerAnimation'; import { DrawerItemProps } from '../interfaces/DrawerItemProps'; import * as React from 'react'; /** @hidden */ export type DrawerContextType = { animation?: boolean | DrawerAnimation; expanded?: boolean; mode?: 'overlay' | 'push'; position?: 'start' | 'end'; mini?: boolean; dir?: string; items?: Array<DrawerItemProps>; item?: React.ComponentType<DrawerItemProps>; width?: number; miniWidth?: number; onOverlayClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void; onSelect?: (target: any, idx: number, event: React.SyntheticEvent<HTMLElement>) => void; }; /** @hidden */ export declare const DrawerContext: React.Context<DrawerContextType>;