@devopness/ui-react
Version:
Devopness Design System React Components - Painless essential DevOps to everyone
22 lines (21 loc) • 573 B
TypeScript
import { default as React } from 'react';
/**
* Illustration Component
*
* A simple flex container to center content horizontally and vertically,
* with a fixed height and bottom border.
*
* @example
* ```tsx
* <Illustration>
* <img src="logo.png" alt="Logo" />
* </Illustration>
* ```
*/
type IllustrationProps = {
/** React children to render inside */
children: React.ReactNode;
};
declare const Illustration: ({ children }: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
export { Illustration };
export type { IllustrationProps };