UNPKG

@ultraviolet/illustrations

Version:
23 lines (22 loc) 793 B
import type { IllustrationsKeys } from './Illustrations'; type DynamicIllustrationProps = { /** * Name of the illustration (only illustrations that do have a light and a dark version) */ name: keyof IllustrationsKeys; /** * Width of the illustration */ width?: string | number; /** * Height of the illustration */ height?: string | number; 'data-testid'?: string; className?: string; }; /** * DynamicIllustration is a component made to automate the render of illustrations to adapt them to the current theme (light/dark/darker). */ export declare const DynamicIllustration: ({ name, width, height, "data-testid": dataTestId, className, }: DynamicIllustrationProps) => import("@emotion/react/jsx-runtime").JSX.Element; export {};