Debian Codegraph @

node/@patternfly/react-core/dist/esm/components/Drawer/DrawerSection.d.ts

raw
1 /// <reference types="react" />
2 import { DrawerColorVariant } from './Drawer';
3 export interface DrawerSectionProps extends React.HTMLProps<HTMLDivElement> {
4 /** Additional classes added to the drawer section. */
5 className?: string;
6 /** Content to be rendered in the drawer section. */
7 children?: React.ReactNode;
8 /**
9 * Color variant of the background of the drawer section.
10 * The `no-background` value is deprecated; use the `isPlain` prop instead.
11 */
12 colorVariant?: DrawerColorVariant | 'no-background' | 'default' | 'secondary';
13 /** @beta Flag indicating that the drawer section should use plain styles. */
14 isPlain?: boolean;
15 }
16 export declare const DrawerSection: React.FunctionComponent<DrawerSectionProps>;
17 //# sourceMappingURL=DrawerSection.d.ts.map