@redocly/theme
Version:
Shared UI components lib
16 lines (15 loc) • 435 B
TypeScript
import React from 'react';
import type { JSX } from 'react';
export type ImageProps = {
src?: string;
srcSet?: string;
alt?: string;
className?: string;
width?: string | number;
height?: string | number;
border?: string;
withLightbox?: boolean;
lightboxStyle?: React.CSSProperties | string;
style?: React.CSSProperties | string;
};
export declare function Image(props: ImageProps): JSX.Element;