diff --git a/apps/demo/app/[framework]/[...puckPath]/client.tsx b/apps/demo/app/[framework]/[...puckPath]/client.tsx index 0a92e74ae1..c82190c65a 100644 --- a/apps/demo/app/[framework]/[...puckPath]/client.tsx +++ b/apps/demo/app/[framework]/[...puckPath]/client.tsx @@ -52,72 +52,11 @@ export function Client({ localStorage.setItem(key, JSON.stringify(data)); }} plugins={[headingAnalyzer]} - renderHeader={({ children }) => ( + renderHeaderActions={() => ( <> -
- Demo: Using local storage. -
- -
-
- -
-
- - {children} -
-
+ )} /> diff --git a/apps/demo/app/configs/custom/blocks/ButtonGroup/index.tsx b/apps/demo/app/configs/custom/blocks/ButtonGroup/index.tsx index f305987003..b7a1a70bef 100644 --- a/apps/demo/app/configs/custom/blocks/ButtonGroup/index.tsx +++ b/apps/demo/app/configs/custom/blocks/ButtonGroup/index.tsx @@ -46,7 +46,12 @@ export const ButtonGroup: ComponentConfig = {
{buttons.map((button, i) => ( - ))} diff --git a/apps/demo/app/configs/custom/blocks/Hero/index.tsx b/apps/demo/app/configs/custom/blocks/Hero/index.tsx index c60dcc8393..b4e158e86d 100644 --- a/apps/demo/app/configs/custom/blocks/Hero/index.tsx +++ b/apps/demo/app/configs/custom/blocks/Hero/index.tsx @@ -122,7 +122,12 @@ export const Hero: ComponentConfig = {

{description}

{buttons.map((button, i) => ( - ))} diff --git a/apps/demo/app/configs/custom/components/Footer/index.tsx b/apps/demo/app/configs/custom/components/Footer/index.tsx index 459c2a9d06..8dfeb8f226 100644 --- a/apps/demo/app/configs/custom/components/Footer/index.tsx +++ b/apps/demo/app/configs/custom/components/Footer/index.tsx @@ -54,7 +54,7 @@ const FooterList = ({ const Footer = ({ children }: { children: ReactNode }) => { return ( -