UNPKG

@nayan-ui/react

Version:

Reusable Component Library for ReactJS.

19 lines 755 B
import React from 'react'; import { RadioItem } from './Types'; import { RadioGroup } from './ui/radio-group'; export interface NRadioGroupProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroup>, 'onValueChange' | 'value' | 'defaultValue' | 'onChange'> { orientation?: 'horizontal' | 'vertical'; items: RadioItem[]; className?: string; id?: string; label?: string; itemClassName?: string; radioClassName?: string; labelClassName?: string; disabled?: boolean; value: string; onChange: (selected: string) => void; showLabel?: boolean; } export declare const NRadioGroup: React.NamedExoticComponent<NRadioGroupProps & React.RefAttributes<HTMLDivElement>>; //# sourceMappingURL=NRadioGroup.d.ts.map