```js
// Button.stories.js

import React from 'react';

import { Button } from './Button';

// some function to demonstrate the behavior
const someFunction = (someValue) => {
  return `i am a ${someValue}`;
};

export default {
  title: 'Button',
  component: Button,
  argTypes: {
    backgroundColor: { control: 'color' }
  },
};

export const ExampleStory = (args) => {
  // destructure the label from the args object
  const { label } = args;
  //
  // assigns the function result to a variable and pass it as a prop into the component
  const functionResult = someFunction(label);
  return <Button {...args} label={functionResult} />;
};

ExampleStory.args = {
  primary: true,
  size: 'small',
  label: 'button'
};
```
