rfa
Version:
**React Form Architect** is an ultimate solution for creating and rendering forms in React. Its main focus is to provide users with a tool to define, render and share a form in a browser.
9 lines (8 loc) • 522 B
TypeScript
/// <reference types="react" />
import { FormCustomRegisterType, FormFieldError } from "../../types/common-form-components-types";
import { SliderProps as MUIProps } from "@material-ui/core";
export declare type SliderProps = FormCustomRegisterType & FormFieldError & {
label: string;
helperText?: string;
} & Exclude<MUIProps, "label" | FormCustomRegisterType>;
export declare const Slider: ({ label, name, helperText, unregister, register, setValue, error, ...sliderProps }: SliderProps) => JSX.Element;