Skip to content

Commit

Permalink
[TSK-310] components: skeleton story
Browse files Browse the repository at this point in the history
  • Loading branch information
maany committed Oct 13, 2024
1 parent d5b44e1 commit 9264a55
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions stories/components/Skeleton.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import type { Meta, StoryObj } from "@storybook/react";
import { Skeleton } from "@/components/skeleton";

const DummyFullPageTable = () => {
return (
<div className="w-screen h-screen">
<Skeleton className="absolute flex items-center justify-center w-full h-full rounded-b-none"></Skeleton>
</div>
);
};
const meta = {
title: "Components/Skeleton",
component: DummyFullPageTable,
parameters: {
layout: "centered",
},
tags: ["autodocs"],
argTypes: {},
} satisfies Meta<typeof DummyFullPageTable>;

export default meta;

type Story = StoryObj<typeof meta>;

export const Default: Story = {
args: {},
};

0 comments on commit 9264a55

Please sign in to comment.