mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-07 19:28:44 +01:00
26 lines
465 B
TypeScript
26 lines
465 B
TypeScript
|
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,
|
||
|
},
|
||
|
};
|