@wordpress/components
Version:
UI components for WordPress.
23 lines • 489 B
TypeScript
/**
* External dependencies
*/
import type { ReactNode } from 'react';
export type MenuGroupProps = {
/**
* A CSS `class` to give to the container element.
*/
className?: string;
/**
* Hide the top border on the container.
*/
hideSeparator?: boolean;
/**
* Text to be displayed as the menu group header.
*/
label?: string;
/**
* The children elements.
*/
children?: ReactNode;
};
//# sourceMappingURL=types.d.ts.map