: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { useValues } from 'kea'
import { HogFunctionTemplateList } from 'scenes/hog-functions/list/HogFunctionTemplateList'
import { SceneContent } from '~/layout/scenes/components/SceneContent'
import { SceneDivider } from '~/layout/scenes/components/SceneDivider'
import { SceneSection } from '~/layout/scenes/components/SceneSection'
import { SourceDestinationsBanner } from 'products/warehouse_sources/frontend/components/SourceDestinationsBanner'
import { BatchExportsList } from './batch-exports/BatchExportsList'
import { nonHogFunctionTemplatesLogic } from './utils/nonHogFunctionTemplatesLogic'
export function DestinationsBatchExportsTab(): JSX.Element {
const { hogFunctionTemplatesBatchExports } = useValues(nonHogFunctionTemplatesLogic)
return (
<SceneContent>
<SourceDestinationsBanner />
<SceneSection>
<BatchExportsList />
</SceneSection>
<SceneDivider />
<SceneSection title="Create a new batch export">
<HogFunctionTemplateList
type="destination"
manualTemplates={hogFunctionTemplatesBatchExports}
manualTemplatesOnly
/>
</SceneSection>
</SceneContent>
)
}