import { useWorkspaceLayout } from "./workspace"; export function EmptyWorkspace( { disabled, hasProjects, onAddProject, onNewDocument }: { disabled: boolean; hasProjects: boolean; onAddProject: () => void; onNewDocument: () => void; }, ) { let { frame, mode } = useWorkspaceLayout(); return (
{hasProjects ? "Pick one from the sidebar or start a new one." : "Documents in Chopin belong to a GitHub repository, so you, your team and Chopin can write against the code."}