import type { Meta, StoryObj } from "@storybook/react";

import React from "react";

import { ERC721ApprovedDisplay } from "./ERC721ApprovedDisplay";

const meta = {
	component: ERC721ApprovedDisplay,
	decorators: [(Story) => <Story />],

	argTypes: {
		tokenId: { control: "text" },
		tokenAddress: { control: "text" },
		chainId: { control: "text" },
		className: { control: "text" },
	},
} satisfies Meta<typeof ERC721ApprovedDisplay>;

export default meta;

type Story = StoryObj<typeof meta>;

export const Default: Story = {
	args: {
		tokenId: "1",
		tokenAddress: "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
		chainId: "1", // Ethereum mainnet
	},
};

export const CustomClassName: Story = {
	args: {
		...Default.args,
		className: "custom-class",
	},
};

export const DifferentTokenId: Story = {
	args: {
		...Default.args,
		tokenId: "42",
	},
};

export const DifferentChain: Story = {
	args: {
		...Default.args,
		chainId: "137", // Polygon mainnet
	},
};
