import panelIcon from "./assets/icons/panel-close.svg"; import { IconButton } from "./icon-button"; import type { RefObject } from "react"; import type * as Api from "./api"; export const SIDEBAR_MIN = 250; export const SIDEBAR_MAX = 400; export const SIDEBAR_STORAGE_KEY = "chopin:pane:projects"; export function ProjectSidebarSkeleton() { return (
{[55, 40, 65, 45].map(width => )}
); } export function ProjectSidebarLoading( { onCollapse, user }: { onCollapse: () => void; user: Api.User }, ) { return ( ); } export function ProjectSidebarExpandButton( { buttonRef, onExpand, shortcut, }: { buttonRef?: RefObject; onExpand: () => void; shortcut?: string; }, ) { return ( ); }