reablocks
Version:
Component library for React
31 lines (29 loc) • 734 B
TypeScript
import { DialogTheme } from './DialogTheme';
import { FC } from 'react';
export interface DialogHeaderProps {
/**
* The content of the dialog header.
*/
children?: any;
/**
* The CSS class name for the root element of the component.
*/
className?: string;
/**
* Whether to show the close button in the dialog header.
*/
showCloseButton?: boolean;
/**
* Whether to disable padding for the dialog header.
*/
disablePadding?: boolean;
/**
* Callback when the close button is clicked.
*/
onClose?: () => void;
/**
* Theme for the Dialog Header.
*/
theme?: DialogTheme;
}
export declare const DialogHeader: FC<DialogHeaderProps>;