import { FC, memo, useState } from 'react' import { ReviewPanelResolvedThreadsButton } from './review-panel-resolved-threads-button' import { ReviewPanelTrackChangesMenu } from './review-panel-track-changes-menu' import ReviewPanelTrackChangesMenuButton from './review-panel-track-changes-menu-button' import { Button } from 'react-bootstrap' import MaterialIcon from '@/shared/components/material-icon' import { useLayoutContext } from '@/shared/context/layout-context' const ReviewPanelHeader: FC = () => { const [trackChangesMenuExpanded, setTrackChangesMenuExpanded] = useState(false) const { setReviewPanelOpen } = useLayoutContext() return (