import React, { FC, CSSProperties, ReactNode } from 'react'; export interface IFormikUiRadioOption { label: string; value: string | number; } export interface IFormikUiRadioProps { /** Sets the Name of the Radio Fields */ name: string; /** Array in the shape of [ { value: string or number, label: string } ] */ options: IFormikUiRadioOption[]; /** Adds a custom class to each input element of the Radio component */ className?: string; /** Adds a custom inline styles to the Radio input element */ style?: CSSProperties; /** Disables the Radio Fields */ disabled?: boolean; /** Sets the main Label for the Radio Fields */ label?: ReactNode; /** Displays the radio option inline from left to right */ inline?: boolean; /** Sets a hint text after/below the Radio component */ hint?: ReactNode; /** Sets the field as requierd, if label is passed, an * is added to the end of the main label. Validation will only work if you pass the required() method in the yup validation schema */ required?: boolean; } export declare const Radio: FC; declare const _default: React.ElementType; export default _default;