/* eslint-disable @typescript-eslint/prefer-optional-chain */ import { TextInput } from '#components/Input' import { Item } from '#src/types' interface StartEndInputProps { item?: Item showLabels?: boolean updateStartValue?: (value: string) => void updateEndValue?: (value: string) => void } export const PopupStartEndInput = ({ item, showLabels = true, updateStartValue, updateEndValue, }: StartEndInputProps) => { return (