Open fleven-kds opened 7 months ago
Somehow thought we'd have a ticket for this already... but was only able to come up with this one for our own, branded instance: https://github.com/kickstartDS/kickstartDS-storybook/issues/5
We should do this in kickstartDS/content
, though. Directly changing how Storytelling
and Visual
work at the source. We already have won a ButtonGroup
component in the meantime, which should be used in those components:
https://github.com/kickstartDS/kickstartDS/blob/next/packages/components/base/source/button-group/ButtonGroupComponent.tsx
List of Components featuring a
ButtonGroup
through the use of aButtonContextProvider
:VideoCurtain
(Based onKdsVisual
)Hero
(Based onKdsVisual
)ImageStory
(based onKdsStorytelling
)CtaPaid
(based onKdsStorytelling
)The current approach of integrating a
ButtonGroup
into components viaButtonContextProvider
is not optimal. It would be more efficient and maintainable to find an alternative method for this integration. One potential solution could be to natively integrate them into the basekickstartDS
components (Visual
&Storytelling
).