import classNames from "classnames"; import { useAtomValue } from "jotai"; import type { CSSProperties } from "react"; import { selectedFlowAtom } from "../lib/atoms"; import { EmptyState } from "./FlowBodyViewer"; import { FlowCard } from "./FlowCard"; import { NotDecrypted } from "./NotDecrypted"; /** * The detail pane: the selected flow's card, or what the pane holds before one is selected. The * split's gutter separates it from the list; side by side it sits a little under the header. */ export function FlowDetail({ style, sideBySide }: { style?: CSSProperties; sideBySide: boolean }) { const flow = useAtomValue(selectedFlowAtom); return (