import { useState } from 'react' import InformationCircleIcon from '@heroicons/react/24/outline/InformationCircleIcon' import * as React from 'react'; type SelectBoxProps = { labelTitle?: string; labelStyle?: string; type?: string; containerStyle?: string; defaultValue: string; placeholder?: string; updateFormValue: (value: string ) => void; options: {name: string, value: string}[]; labelDescription?: string } export function SelectBox(props : SelectBoxProps){ const {labelTitle, labelDescription, defaultValue, containerStyle, placeholder, labelStyle, options, updateFormValue} = props const [value, setValue] = useState(defaultValue || "") const updateValue = (newValue: string) =>{ updateFormValue(newValue) setValue(newValue) } return (