@payfit/unity-components
Version:
20 lines (19 loc) • 812 B
TypeScript
import { PropsWithChildren } from 'react';
export type RadioButtonHelperProps = PropsWithChildren;
/**
* The `RadioButtonHelper` component provides additional context or instructions for radio button options.
* It displays as smaller, lower-contrast text positioned below the radio button to help users understand the option better.
* @example
* ```tsx
* import { RadioButton, RadioButtonHelper } from '@payfit/unity-components'
*
* <RadioButton value="option1">
* Option 1
* <RadioButtonHelper>Additional information about this option</RadioButtonHelper>
* </RadioButton>
* ```
*/
declare const RadioButtonHelper: import('react').ForwardRefExoticComponent<{
children?: import('react').ReactNode | undefined;
} & import('react').RefAttributes<HTMLSpanElement>>;
export { RadioButtonHelper };