UNPKG

@freecodecamp/ui

Version:

The freeCodeCamp.org open-source UI components

12 lines (11 loc) 563 B
import React from "react"; import { FormControlFeedback } from "./form-control-feedback"; import { FormControlStatic } from "./form-control-static"; import { FormControlProps } from "./types"; interface FormControlStatics { Feedback: typeof FormControlFeedback; Static: typeof FormControlStatic; } type FormControlComponent = React.ForwardRefExoticComponent<FormControlProps<"input" | "textarea"> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>> & FormControlStatics; declare const FormControl: FormControlComponent; export { FormControl };