From 2c8d1389be317a1e9426c03c3ff8645ae2529e80 Mon Sep 17 00:00:00 2001 From: John Kapantzakis Date: Fri, 15 Mar 2024 23:04:57 +0200 Subject: [PATCH 1/2] Add button group title --- src/components/button/buttonGroup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/button/buttonGroup.js b/src/components/button/buttonGroup.js index a90f3eb46..8736cb62f 100644 --- a/src/components/button/buttonGroup.js +++ b/src/components/button/buttonGroup.js @@ -32,13 +32,14 @@ const Content = ({ children }) => { const RadioButtons = ({ items, checked, buttonProps = {}, onChange }) => ( <> - {items.map(({ label, value }, index) => { + {items.map(({ label, value, title }, index) => { const buttonGroupProps = getButtonGroupProps(index, items.length) return (