import React from 'react'; import { useTranslation } from 'next-i18next'; import ClosableTextInput from '~/components/Common/ClosableTextInput'; import FolderPlusIcon from '~/components/Icons/FolderPlusIcon'; import BookmarkFolderTree from './BookmarkFolderTree'; type Props = { onClickNewFolder: () => void isRenameInputShown: boolean folderName: string onClickOutside: () => void onPressEnter: (folderName: string) => void } const BookmarkFolder = (props: Props): JSX.Element => { const { onClickNewFolder, isRenameInputShown, folderName, onClickOutside, onPressEnter, } = props; const { t } = useTranslation(); return ( <>