UNPKG

@tiller-ds/formik-elements

Version:

Formik elements module of Tiller Design System

11 lines (10 loc) 570 B
/// <reference types="react" /> import { RadioGroupItemProps, RadioGroupProps } from "@tiller-ds/form-elements"; declare type RadioGroupFieldProps = Omit<RadioGroupProps, "value" | "onChange" | "error">; declare type RadioGroupFieldItemProps = RadioGroupItemProps; declare function RadioGroupField({ name, children, ...props }: RadioGroupFieldProps): JSX.Element; declare namespace RadioGroupField { var Item: typeof RadioGroupFieldItem; } declare function RadioGroupFieldItem(props: RadioGroupFieldItemProps): JSX.Element; export default RadioGroupField;