import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Drawer/drawer'; import { css } from '@patternfly/react-styles'; import { DrawerPanelBody } from './DrawerPanelBody'; export interface DrawerHeadProps extends React.HTMLProps { /** Additional classes added to the drawer head. */ className?: string; /** Content to be rendered in the drawer head */ children?: React.ReactNode; /** Indicates if there should be no padding around the drawer panel body of the head*/ hasNoPadding?: boolean; } export const DrawerHead: React.FunctionComponent = ({ // eslint-disable-next-line @typescript-eslint/no-unused-vars className = '', children, hasNoPadding = false, ...props }: DrawerHeadProps) => (
{children}
); DrawerHead.displayName = 'DrawerHead';