import React from 'react'; import { css } from '@patternfly/react-styles'; import { MenuGroupProps, MenuGroup } from '../Menu'; /** * See the MenuGroup section of the Menu documentation for additional props that may be passed. */ export interface DropdownGroupProps extends Omit { /** Anything which can be rendered in a dropdown group. */ children: React.ReactNode; /** Classes applied to root element of dropdown group */ className?: string; /** Label of the dropdown group */ label?: string; } export const DropdownGroup: React.FunctionComponent = ({ children, className, label, labelHeadingLevel = 'h1', ...props }: DropdownGroupProps) => ( {children} ); DropdownGroup.displayName = 'DropdownGroup';