diff --git a/apps/demo/config/blocks/ButtonGroup/index.tsx b/apps/demo/config/blocks/ButtonGroup/index.tsx index 3d30e57927..18414b2efa 100644 --- a/apps/demo/config/blocks/ButtonGroup/index.tsx +++ b/apps/demo/config/blocks/ButtonGroup/index.tsx @@ -10,7 +10,7 @@ const getClassName = getClassNameFactory("ButtonGroup", styles); export type ButtonGroupProps = { align?: string; - buttons: { label: string; href: string; variant?: "primary" | "secondary" }[]; + buttons: { label: string; href: string; variant: "primary" | "secondary" }[]; }; export const ButtonGroup: ComponentConfig = { @@ -29,6 +29,11 @@ export const ButtonGroup: ComponentConfig = { ], }, }, + defaultItemProps: { + label: "Button", + href: "#", + variant: "primary", + }, }, align: { type: "radio", @@ -39,7 +44,7 @@ export const ButtonGroup: ComponentConfig = { }, }, defaultProps: { - buttons: [{ label: "Learn more", href: "#" }], + buttons: [{ label: "Learn more", href: "#", variant: "primary" }], }, render: ({ align, buttons }) => { return (