import { default as React } from 'react'; import { FormRowLabelOwnProps } from './FormRowLabel'; /** @inheritdoc */ export interface FormRowProps extends Pick { /** * The label for the form row. * If not provided, the form row will not render a label. */ label?: string; /** * Whether to visually hide the label (but keep it accessible for screen readers). */ labelHidden?: FormRowLabelOwnProps['visuallyHidden']; /** * Informational tooltip to display next to the form row. */ tooltip?: React.ReactNode; /** * The form row's children (usually an input element). */ children?: React.ReactNode; /** * The element to render the form row as. * @default 'label' */ as?: 'label' | 'div'; /** * If set to true, the container stretches to full width. */ isFullWidth?: boolean; } /** @deprecated */ export declare const FormRow: React.ForwardRefExoticComponent> & { HelperText: React.FC; Label: React.ForwardRefExoticComponent>; };