UNPKG

@firecms/ui

Version:

Awesome Firebase/Firestore-based headless open-source CMS

29 lines (28 loc) 863 B
import * as React from "react"; export interface RadioGroupProps { id?: string; children: React.ReactNode; name?: string; required?: boolean; disabled?: boolean; /** * Whether keyboard navigation should loop around * @defaultValue false */ loop?: boolean; defaultValue?: string; value?: string; onValueChange?(value: string): void; className?: string; } declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>; export interface RadioGroupItemProps { id?: string; value: string; checked?: boolean; required?: boolean; className?: string; disabled?: boolean; } declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>; export { RadioGroup, RadioGroupItem };