UNPKG

@vtex/admin-ui

Version:

> VTEX admin component library

19 lines (18 loc) 427 B
import type { PropsWithChildren } from 'react'; export interface GroupProps { /** * If is grouped or not * @default false */ grouped?: boolean; } /** * Provide grouped context */ export declare function Group(props: PropsWithChildren<GroupProps>): JSX.Element; /** * Use to create a size-aware component */ export declare function useGroup(): { grouped: boolean | undefined; };