import React, { useRef } from "react"; import InputCompOne from "../shared/InputCompOne"; interface Option { value: string; label: string; } const BasicInfo: React.FC = () => { const inputRef = useRef(null); // Array for marital status options const maritalStatusOptions: Option[] = [ { value: "", label: "Select" }, { value: "single", label: "Single" }, { value: "married", label: "Married" }, { value: "divorced", label: "Divorced" }, { value: "widowed", label: "Widowed" }, ]; // Array for title options const titleOptions: Option[] = [ { value: "", label: "Select" }, { value: "ms", label: "Ms" }, { value: "mr", label: "Mr" }, { value: "miss", label: "Miss" }, { value: "mrs", label: "Mrs" }, ]; const handleChange = (e: React.ChangeEvent) => { // Handle input value changes console.log(e.target.value); }; const handleInput = (e: React.FormEvent) => { // Handle input events console.log(e); }; return (
); }; export default BasicInfo;