import { default as React } from 'react'; import { default as IFormGroupProps } from './IFormGroupProps'; /** * A flexible form group component that wraps form elements in a styled container with a label. * Composes Grid component for responsive multi-column layouts. * * **Composition Pattern:** * FormGroup uses Grid internally instead of reimplementing grid logic, ensuring DRY principles * and consistent layout behavior across the library. * * **Responsive Behavior:** * On screens below the `md` breakpoint (< 768px) the boxed styling is dropped to give content * more room: the border is removed, padding shrinks to 8px, the gap between fields becomes 16px, * and the floating `` is replaced by an `

` title. * * @param props {@link IFormGroupProps} - Props for the FormGroup component * @returns The rendered FormGroup component * * @example * ```tsx * // Legacy format (number) - mobile-first default * * * First Name * * * * Last Name * * * * ``` * * @example * ```tsx * // Responsive format - full control over breakpoints * * * First Name * * * * Last Name * * * * Email * * * * ``` * * @example * ```tsx * // Mixed spans - some fields span multiple columns * * * Email Address * * * * First Name * * * * ``` */ declare const FormGroup: React.FC; export default FormGroup;