onDocumentClickHandler(d.id)}
+ // onDoubleClick={() => onDocumentDoubleClickHandler(d.id)}
+ // className={classNames(
+ // d.id === selectedDocumentId
+ // ? 'bg-gray-900 text-white'
+ // : 'text-gray-300 hover:bg-gray-700 hover:text-white',
+ // 'group items-center py-2 text-base font-medium rounded-b-md pl-10',
+ // index !== 0 ? 'rounded-t-md' : '',
+ // )}>
+ // {selectedDocumentId === d.id && isEditDocumentNameInputShowing
+ // ?
{
+ // onEnterHandler(event,
+ // () => onConfirmDocumentNameChangeHandler(event.currentTarget.value))
+ // }}
+ // ref={editDocumentNameTextInput}
+ // />
+ // :
+ // {d.name}
+ //
+ // }
+ //
+ // :