import React from "react"; // types import { Props } from "./types"; const Select: React.FC = ({ id, label, value, className, name, register, disabled, validations, error, options, }) => { return ( <> {label && ( )} {error?.message &&
{error.message}
} ); }; export default Select;