UNPKG

@chatui/core

Version:

The React library for Chatbot UI

13 lines (12 loc) 417 B
import React from 'react'; import { RadioProps, RadioValue } from './Radio'; export type RadioGroupProps = { className?: string; options: RadioProps[]; value: RadioValue; name?: string; disabled?: boolean; block?: boolean; onChange: (value: RadioValue, event: React.ChangeEvent<HTMLInputElement>) => void; }; export declare const RadioGroup: (props: RadioGroupProps) => React.JSX.Element;