import React from "react"; import { Meta } from "@storybook/react/types-6-0"; import { Story } from "@storybook/react"; import Button, { ButtonProps } from "./Button"; export default { title: "Components/Button", component: Button, argTypes: { backgroundColor: { control: 'color' }, }, } as Meta; // Create a master template for mapping args to render the Button component const Template: Story = (args) =>