UNPKG

@fluster.io/dev

Version:

18 lines (17 loc) 536 B
import { ReactNode } from 'react'; import { FieldValues } from 'react-hook-form'; import { FormInputProps } from '../types'; interface SwitchInputProps<T extends FieldValues> extends FormInputProps<T> { classes?: { container?: string; switch?: string; title?: string; desc?: string; titleContainer?: string; }; } export declare const SwitchInput: { <T extends FieldValues>({ form, name, label, desc, classes, }: SwitchInputProps<T>): ReactNode; displayName: string; }; export {};