23 lines
632 B
TypeScript
23 lines
632 B
TypeScript
import type { Meta, StoryObj } from "@storybook/svelte";
|
|
import BlobPreview from "../components/display/BlobPreview.svelte";
|
|
import { videoAddress, videoVerticalAddress } from "./common";
|
|
|
|
const meta: Meta<BlobPreview> = {
|
|
title: "Blobs/BlobPreview",
|
|
component: BlobPreview,
|
|
tags: ["autodocs"],
|
|
argTypes: {},
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<BlobPreview>;
|
|
|
|
// More on writing stories with args: https://storybook.js.org/docs/7.0/svelte/writing-stories/args
|
|
export const Video: Story = {
|
|
args: { address: videoAddress },
|
|
};
|
|
|
|
export const VideoVertical: Story = {
|
|
args: { address: videoVerticalAddress },
|
|
};
|