/** @jsx jsx */ /** @jsxFrag React.Fragment */ import React from 'react'; import { type TagProps } from '@blueprintjs/core'; /** * Workspace has a main area, a sidebar, * and a status bar with item count & possibly refresh & other actions. */ export interface WorkspaceProps { /** What to show in the sidebar. */ sidebar?: JSX.Element; sidebarPosition?: 'left' | 'right'; /** Global mode bar. Use sparingly. */ globalMode?: { content: JSX.Element; intent?: TagProps["intent"]; icon?: TagProps["icon"]; minimal?: TagProps["minimal"]; style?: React.CSSProperties; action?: JSX.Element; onClick?: () => void; }; toolbar?: JSX.Element; /** Status bar, shown on the bottom. Should not be turned on or off willy-nilly. */ statusBar?: { content: JSX.Element; items?: never; } | { content?: never; items: { id: string; content: JSX.Element; flex?: true; }[]; }; className?: string; style?: React.CSSProperties; } declare const Workspace: React.FC; export default Workspace;