reablocks
Version:
Component library for React
23 lines (22 loc) • 760 B
TypeScript
import { default as React, ReactNode, HTMLAttributes } from 'react';
import { DrawerTheme } from './DrawerTheme';
export interface DrawerContentProps extends HTMLAttributes<HTMLDivElement> {
/**
* The content to display in the drawer 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 Drawer's disablePadding prop.
*/
disablePadding?: boolean;
/**
* Theme for the Drawer Content.
*/
theme?: DrawerTheme;
}
export declare const DrawerContent: React.ForwardRefExoticComponent<DrawerContentProps & React.RefAttributes<HTMLDivElement>>;