/* eslint-disable @typescript-eslint/prefer-optional-chain */ import * as React from 'react' import { TextInput } from '../../../Input' import { Item } from '../../../../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 (