mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-23 16:58:27 +01:00
29 lines
542 B
TypeScript
29 lines
542 B
TypeScript
// Copyright 2024, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
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,
|
|
},
|
|
};
|