@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
18 lines (17 loc) • 661 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type RadioProperties<ET extends ElementType = 'input'> = {
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Interactive elements that allow users to select a single option from a list.
* @docs {@link https://design.visa.com/components/radio/?code_library=react | See Docs}
* @vgar TODO
* @wcag TODO
* @related radio-panel
*/
declare const Radio: {
<ET extends ElementType = "input">({ className, tag: Tag, ...remainingProps }: RadioProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Radio;