waveterm/frontend/app/element/magnify.stories.tsx

26 lines
465 B
TypeScript
Raw Normal View History

import type { Meta, StoryObj } from "@storybook/react";
import { MagnifyIcon } from "./magnify";
const meta = {
title: "Icons/Magnify",
component: MagnifyIcon,
args: {
enabled: true,
},
} satisfies Meta<typeof MagnifyIcon>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Enabled: Story = {
args: {
enabled: true,
},
};
export const Disabled: Story = {
args: {
enabled: false,
},
};