import * as React from 'react'; import { IEditorContainerProps } from '../PropTypes'; import ComponentBase from '../ComponentBase'; import { FormContext } from '../FormContext'; export interface IFormGroupProps extends IEditorContainerProps { /** * Properties to apply to the label. */ labelProps?: React.HTMLProps; /** * Hides the label. */ suppressLabel?: boolean; /** * Text to show beneath the editor. This will be hidden when validation text is shown. */ footerText?: string | React.ReactNode; /** * Text / element to show to the right of the label. */ rightLabel?: string | React.ReactNode; /** Id for the container element. */ containerId?: string; } export interface IFormGroupClasses { container: string; containerDom: React.HTMLProps; label: string; editor: string; } export declare class FormGroupBase, TData> extends ComponentBase { static contextType: React.Context; context: React.ContextType; protected isBsPre5: boolean; protected getFormGroupClasses(domProps: React.HTMLProps, isCheckBox: boolean): IFormGroupClasses; protected hideLabelForCheckboxes(): boolean; render(): React.JSX.Element; } export default class FormGroup extends FormGroupBase, TData> { }