```js
// Button.stories.ts|tsx

import React from 'react';

import { Button } from './Button';

import type { ComponentMeta } from '@storybook/react';

export default {
  /* 👇 The title prop is optional.
  * See https://storybook.js.org/docs/7.0/react/configure/overview#configure-story-loading
  * to learn how to generate automatic titles
  */
  title: 'Button',
  component: Button,
  //👇 Creates specific parameters for the story
  parameters: {
    backgrounds: {
      values: [
         { name: 'red', value: '#f00', },
         { name: 'green', value: '#0f0', },
      ],
    }
  },
} as ComponentMeta<typeof Button>;
```