UNPKG

@chatui/core

Version:

The React library for Chatbot UI

16 lines (15 loc) 491 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; align?: 'left' | 'right'; maxPerRow?: number; flex?: boolean; onChange: (value: RadioValue, event: React.ChangeEvent<HTMLInputElement>) => void; }; export declare const RadioGroup: (props: RadioGroupProps) => React.JSX.Element;