Files
ThreadNet-Web/packages/shared-components/src/audio/Clock/Clock.stories.tsx
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
762 B
TypeScript
Raw Normal View History

2025-08-05 19:04:55 +02:00
/*
* Copyright 2025 New Vector Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
* Please see LICENSE files in the repository root for full details.
*/
import type { Meta, StoryObj } from "@storybook/react-vite";
2025-08-05 19:04:55 +02:00
import { Clock } from "./Clock";
const meta = {
2025-08-05 19:04:55 +02:00
title: "Audio/Clock",
component: Clock,
tags: ["autodocs"],
args: {
seconds: 20,
},
} satisfies Meta<typeof Clock>;
2025-08-05 19:04:55 +02:00
export default meta;
type Story = StoryObj<typeof meta>;
2025-08-05 19:04:55 +02:00
export const Default: Story = {};
2025-08-05 19:04:55 +02:00
export const LotOfSeconds: Story = {
args: {
seconds: 99999999999999,
},
2025-08-05 19:04:55 +02:00
};
export const SingleDigitMinutes: Story = {
args: {
seconds: 100,
minutesMaxLength: 1,
},
};