```js // demo-button-group.stories.js import { ButtonGroup } from './demo-button-group'; //👇 Imports the Button stories import * as ButtonStories from './demo-button.stories'; export default { /* 👇 The title prop is optional. * See https://storybook.js.org/docs/7.0/web-components/configure/overview#configure-story-loading * to learn how to generate automatic titles */ title: 'ButtonGroup', }; /* *👇 Render functions are a framework specific feature to allow you control on how the component renders. * See https://storybook.js.org/docs/7.0/web-components/api/csf * to learn how to use render functions. */ export const Pair = { render: (args) => ButtonGroup(args), args: { buttons: [{ ...ButtonStories.Primary.args }, { ...ButtonStories.Secondary.args }], orientation: 'horizontal', }, }; ```