UNPKG

3d-tiles-renderer

Version:

https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification

18 lines (14 loc) 633 B
import type { CanvasDOMOverlayProps } from './CanvasDOMOverlay.jsx'; import type { ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react'; import type { CSSProperties } from 'react'; type Attribution = { type: 'string' | 'html' | 'image'; value: any; }; interface TilesAttributionOverlayProps extends CanvasDOMOverlayProps { style?: CSSProperties; generateAttributions?: ( ( attributions: Attribution[], classId: string ) => ReactNode ) | null; } export declare const TilesAttributionOverlay: ForwardRefExoticComponent< TilesAttributionOverlayProps & RefAttributes<TilesAttributionOverlayProps> >;