From ae5c7c2083b16e8f69e9995d74f8be7fffbe6ea5 Mon Sep 17 00:00:00 2001 From: Chris Villa Date: Sun, 13 Aug 2023 11:57:02 +0100 Subject: [PATCH] feat: add headerTitle and headerPath APIs --- apps/demo/app/[...puckPath]/client.tsx | 1 + packages/core/components/Puck/index.tsx | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/demo/app/[...puckPath]/client.tsx b/apps/demo/app/[...puckPath]/client.tsx index 0334e3e4ce..3900a345c1 100644 --- a/apps/demo/app/[...puckPath]/client.tsx +++ b/apps/demo/app/[...puckPath]/client.tsx @@ -52,6 +52,7 @@ export function Client({ localStorage.setItem(key, JSON.stringify(data)); }} plugins={[headingAnalyzer]} + headerPath={path} renderHeaderActions={() => ( <>