welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
13 lines (12 loc) • 401 B
TypeScript
import { ReactElement } from 'react';
import { BoxProps } from '../Box';
export interface HeaderOptions {
icon?: ReactElement;
subtitle?: JSX.Element | string;
title: JSX.Element | string;
}
export type HeaderProps = HeaderOptions & Omit<BoxProps, keyof HeaderOptions>;
/**
* @name Modal.Header
*/
export declare const Header: import('../System').CreateWuiComponent<"div", HeaderProps>;