/* Copyright 2026 Marimo. All rights reserved. */ import { useAtomValue } from "jotai"; import React from "react"; import { documentationAtom } from "@/core/documentation/state"; import { renderHTML } from "@/plugins/core/RenderHTML"; import "../../documentation.css"; import { TextSearchIcon } from "lucide-react"; import { PanelEmptyState } from "./empty-state"; const DocumentationPanel: React.FC = () => { const { documentation } = useAtomValue(documentationAtom); if (!documentation) { return ( } /> ); } return (
{renderHTML({ html: documentation })}
); }; export default DocumentationPanel;