import * as PropTypes from 'prop-types';
import { BoxPropTypes } from '../Box';
export const ItemGroupPropTypes = { ...BoxPropTypes,
  level: PropTypes.number,
  title: PropTypes.string,
  prefix: PropTypes.element,
  children: PropTypes.oneOfType([PropTypes.element, // @ts-ignore
  PropTypes.arrayOf(PropTypes.element)]).isRequired,
  shrink: PropTypes.oneOf(['expand', 'float'])
};