UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

15 lines (14 loc) 745 B
import React from 'react'; import { IElementOrillustration } from './types/elementOrIllustration'; /** * ElementOrIllustration component is a component that can be used to display an element or an illustration. * It can be used to display an illustration or a component. * @param {IElementOrillustration} props * @returns {JSX.Element} * @constructor * @example * <ElementOrIllustration illustration="illustration" /> * <ElementOrIllustration illustration={<Illustration illustration="illustration" />} /> * <ElementOrIllustration illustration={<Button variant="primary">Button</Button>} /> */ export declare const ElementOrIllustration: React.ForwardRefExoticComponent<IElementOrillustration & React.RefAttributes<HTMLImageElement>>;