UNPKG

@masaischool/lotus

Version:

Masai UI component library designed to work seamlessly with Chakra UI

21 lines (20 loc) 819 B
import React from 'react'; import { Props as RadioButtonProps } from './RadioButton'; export interface Props { options: RadioButtonProps[]; onChange: (key: string) => void; selectedValue: string; commonSize?: 'regular' | 'large'; disabled?: boolean; gridTemplateComlumns?: string | { base?: string; md?: string; lg?: string; xl?: string; }; columnGap?: string | string[]; rowGap?: string | string[]; extraReactElement?: React.ReactElement; extraReactElementValueOnClick?: (value: string) => void; } export declare const RadioButtonGroup: ({ options, onChange, selectedValue, commonSize, disabled, gridTemplateComlumns, rowGap, columnGap, extraReactElement, extraReactElementValueOnClick, ...props }: Props) => JSX.Element;