import * as React from 'react'; import { StandardProps } from '../../common'; import { GridCellDefinition } from '../../utils/gridLayout'; export interface GridAreaTapEvent { /** * The specific target that was tapped. */ node: HTMLElement; /** * The x coordinate of the tap. */ x: number; /** * The y coordinate of the tap. */ y: number; /** * The width of the bounding box. */ width: number; /** * The height of the bounding box. */ height: number; } export interface GridAreaProps extends StandardProps, GridCellDefinition { /** * The children, usually passed as a collection of TabPage elements. */ children?: React.ReactNode; /** * The event that is fired once the element is clicked or touched. */ onTap?(e: GridAreaTapEvent): void; } /** * The GridArea component to declare areas within a Grid instance. */ export declare class GridArea extends React.PureComponent { private clicked; private touched; private tapped; render(): JSX.Element; static inner: { readonly GridAreaContainer: any; }; }