/** * A base component for svg/img graphics * https://github.com/yr/graphics-component * @copyright Yr * @license MIT */ import React from 'react'; export declare type GraphicType = 'img' | 'svg'; export interface GraphicProps { fallback?: boolean; height?: string; id: string; rootImagePath?: string; type?: GraphicType; width?: string; } export declare class Graphic extends React.PureComponent { static defaultProps: { type: string; fallback: boolean; height: string; width: string; }; render(): JSX.Element | null; }