Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

673 B
Raw Blame
import { Notebook } from 'scenes/notebooks/Notebook/Notebook'

import { ExportedData } from '../types'

export default function ExporterNotebookScene({
    notebook,
    insights,
    inline_query_results: inlineQueryResults,
}: {
    notebook: NonNullable<ExportedData['notebook']>
    insights: ExportedData['insights']
    inline_query_results: ExportedData['inline_query_results']
}): JSX.Element {
    return (
        <Notebook
            shortId={notebook.short_id}
            editable={false}
            cachedNotebook={notebook}
            cachedInsightsByShortId={insights}
            cachedInlineQueryResultsByNodeId={inlineQueryResults}
        />
    )
}