@nish1896/rhf-mui-components
Version:
A suite of 20+ reusable Material UI components for React Hook Form to minimize your time and effort in creating and styling forms
12 lines (11 loc) • 395 B
TypeScript
import { type ReactNode } from 'react';
import type { FormLabelProps } from '../../types';
type Props = {
label: ReactNode;
isVisible?: boolean;
required?: boolean;
error: boolean;
formLabelProps?: FormLabelProps;
};
declare const FormLabel: ({ label, isVisible, required, error, formLabelProps }: Props) => import("react/jsx-runtime").JSX.Element;
export default FormLabel;