import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Drawer/drawer'; import { css } from '@patternfly/react-styles'; import { DrawerColorVariant } from './Drawer'; export interface DrawerSectionProps extends React.HTMLProps { /** Additional classes added to the drawer section. */ className?: string; /** Content to be rendered in the drawer section. */ children?: React.ReactNode; /** Color variant of the background of the drawer Section */ colorVariant?: DrawerColorVariant | 'no-background' | 'default' | 'secondary'; } export const DrawerSection: React.FunctionComponent = ({ className = '', children, colorVariant = DrawerColorVariant.default, ...props }: DrawerSectionProps) => (
{children}
); DrawerSection.displayName = 'DrawerSection';