UNPKG

@snowball-tech/fractal

Version:

Fractal's (Snowball's design system) React component library based on RadixUI and TailwindCSS

31 lines (30 loc) 940 B
import { Variants } from "./InputRadio.constants.js"; import { ReactNode } from "react"; import { RadioGroupItemProps, RadioGroupProps } from "@radix-ui/react-radio-group"; //#region src/components/InputRadio/InputRadio.types.d.ts interface InputRadioGroupProps extends RadioGroupProps { children: ReactNode; condensed?: boolean; defaultValue?: string; disabled?: boolean; fullWidth?: boolean; name?: string; orientation?: RadioGroupProps['orientation']; required?: boolean; value?: string; variant?: `${Variants}`; onValueChange?: (value: string) => void; } interface InputRadioProps extends RadioGroupItemProps { value: string; children?: ReactNode; condensed?: boolean; disabled?: boolean; fullWidth?: boolean; id?: string; label?: ReactNode; labelElement?: keyof HTMLElementTagNameMap; } //#endregion export { InputRadioGroupProps, InputRadioProps }; //# sourceMappingURL=InputRadio.types.d.ts.map