import { IoIosArrowForward, IoIosArrowBack } from "react-icons/io"; import { IconButton } from "./icon-button"; interface ToggleWorkspaceIconButtonProps { onClick: () => void; isHidden: boolean; } export function ToggleWorkspaceIconButton({ onClick, isHidden, }: ToggleWorkspaceIconButtonProps) { return ( ) : ( ) } testId="toggle" ariaLabel={isHidden ? "Open workspace" : "Close workspace"} onClick={onClick} /> ); }