mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
23 lines
459 B
TypeScript
23 lines
459 B
TypeScript
import { Meta, StoryObj } from "@storybook/react";
|
|
import { noop } from "lodash";
|
|
|
|
import TeamsDropdown from ".";
|
|
|
|
const meta: Meta<typeof TeamsDropdown> = {
|
|
title: "Components/TeamsDropdown",
|
|
component: TeamsDropdown,
|
|
args: {
|
|
currentUserTeams: [
|
|
{ id: 1, name: "Team 1" },
|
|
{ id: 2, name: "Team 2" },
|
|
],
|
|
onChange: noop,
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
|
|
type Story = StoryObj<typeof TeamsDropdown>;
|
|
|
|
export const Basic: Story = {};
|