UNPKG

primereact

Version:

PrimeReact is an open source UI library for React featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime

25 lines (22 loc) 670 B
import * as React from 'react'; export interface ImageProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, 'ref'> { alt?: string; children?: React.ReactNode; downloadable?: boolean; height?: string; imageClassName?: string; imageStyle?: string; preview?: boolean; zoomSrc?: string; src?: string; template?: any; width?: string; onShow?(): void; onHide?(): void; } export declare class Image extends React.Component<ImageProps, any> { public show(): void; public hide(): void; public getElement(): HTMLSpanElement; public getImage(): HTMLImageElement; }