import type { Meta, StoryObj } from "@storybook/react";
import { MockUser } from "testHelpers/entities";
import { UserAutocomplete } from "./UserAutocomplete";

const meta: Meta<typeof UserAutocomplete> = {
	title: "components/UserAutocomplete",
	component: UserAutocomplete,
};

export default meta;
type Story = StoryObj<typeof UserAutocomplete>;

export const WithLabel: Story = {
	args: {
		value: MockUser,
		label: "User",
	},
};

export const NoLabel: Story = {
	args: {
		value: MockUser,
	},
};
