```js // Button.stories.js import Button from './Button.vue'; export default { title: 'Button', component: Button, argTypes: { backgroundColor: { control: "color" } }, }; const someFunction = someValue => { return `i am a ${someValue}`; }; export const ExampleStory = (args, { argTypes }) => { // destructure the label from the args object const oldArgs = args; const { label } = oldArgs; // // assigns the function result to a variable and pass it as a prop into the component const functionResult = someFunction(label); args.label = functionResult; return { props: Object.keys(argTypes), components: { Button }, template: '