reablocks
Version:
Component library for React
23 lines (22 loc) • 760 B
TypeScript
import { default as React, ReactNode, HTMLAttributes } from 'react';
import { DialogTheme } from './DialogTheme';
export interface DialogContentProps extends HTMLAttributes<HTMLDivElement> {
/**
* The content to display in the dialog body.
*/
children?: ReactNode;
/**
* Additional CSS class name for the content container.
*/
className?: string;
/**
* Whether to disable padding for the content.
* When used in context, inherits from Dialog's disablePadding prop.
*/
disablePadding?: boolean;
/**
* Theme for the Dialog Content.
*/
theme?: DialogTheme;
}
export declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;