UNPKG

532 BTypeScriptView Raw
1import * as React from 'react';
2import { IRefObject } from '../../Utilities';
3export interface ILayerHost {
4}
5export interface ILayerHostProps extends React.HTMLAttributes<HTMLElement> {
6 /**
7 * Optional callback to access the ILayerHost interface. Use this instead of ref for accessing
8 * the public methods and properties of the component.
9 */
10 componentRef?: IRefObject<ILayerHost>;
11 /**
12 * Defines the id for the layer host that Layers can target (using the hostId property.)
13 */
14 id?: string;
15}