3d-tiles-renderer
Version:
https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification
17 lines (13 loc) • 604 B
TypeScript
import type { CanvasDOMOverlayProps } from './CanvasDOMOverlay.jsx';
import type { ReactNode, ForwardRefExoticComponent, RefAttributes, 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>
>;