import * as React from 'react'; import type { PolymorphicForwardRefComponent } from '../../utils/index.js'; import { StatusMessage } from '../StatusMessage/StatusMessage.js'; type InputGroupProps = { /** * Label of the group. */ label?: React.ReactNode; /** * Status of the group. */ status?: 'positive' | 'warning' | 'negative'; /** * Message below the group. Does not apply to 'inline' group. * * When `typeof message === "string"`, it is automatically wrapped with {@link StatusMessage}. * If you are passing a non-string message that is not ``, you may need to wrap it with * `` yourself for proper styling of `message`. */ message?: React.ReactNode; /** * You can choose between default and inline. * @default 'default' */ displayStyle?: 'default' | 'inline'; /** * Disable whole group. * @default false */ disabled?: boolean; /** * Whether the whole input group is required. * @default false */ required?: boolean; /** * Custom icon. If group has status, default status icon is used instead. */ svgIcon?: React.ComponentPropsWithoutRef['startIcon']; /** * Child inputs inside group. */ children: React.ReactNode; /** * Passes properties for label. */ labelProps?: React.ComponentProps<'label'>; /** * Passes properties for message. */ messageProps?: Pick, 'iconProps' | 'contentProps'>; /** * Passes properties for inner input group element. */ innerProps?: React.ComponentProps<'div'>; }; /** * Group Checkbox/Radio components together * @example * Group checkboxes * * * * * @example * Group radios * * * * */ export declare const InputGroup: PolymorphicForwardRefComponent<"div", InputGroupProps>; export {};