import type * as React from 'react'; import type { HasDataAttribute, HasRootRef } from '../../types'; import type { TappableOmitProps } from '../Tappable/Tappable'; import { RadioInput } from './RadioInput/RadioInput'; export interface RadioProps extends Pick, 'checked' | 'defaultChecked' | 'disabled' | 'readOnly' | 'required' | 'autoFocus' | 'name' | 'value' | 'form' | 'onChange' | 'onFocus' | 'onBlur'>, Omit, 'onChange' | 'onFocus' | 'onBlur'>, HasRootRef, Pick { /** * Свойства, которые можно прокинуть внутрь компонента: * - `root`: свойства для прокидывания в корень компонента; * - `input`: свойства для прокидывания в скрытый `input`. */ slotProps?: { root?: (Omit, 'children'> & HasRootRef & HasDataAttribute) | undefined; input?: (React.ComponentProps<'input'> & HasRootRef & HasDataAttribute) | undefined; } | undefined; /** * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ input: { getRootRef: ... } }`. */ getRef?: React.Ref | undefined; /** * Дополнительное описание под основным текстом. */ description?: React.ReactNode | undefined; /** * Элемент после основного текста. */ titleAfter?: React.ReactNode | undefined; /** * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ root: {...} }`. * * Позволяет передавать data-* аттрибуты элементу label. **/ labelProps?: HasDataAttribute | undefined; } /** * @see https://vkui.io/components/radio */ export declare const Radio: { ({ children, description, titleAfter, labelProps, getRef, className, hoverMode, activeMode, hasHover, hasActive, focusVisibleMode, checked, defaultChecked, disabled, readOnly, required, autoFocus, id, name, value, form, onChange, onFocus, onBlur, slotProps, ...restProps }: RadioProps): React.ReactNode; Input: typeof RadioInput; }; //# sourceMappingURL=Radio.d.ts.map