Skip to content

Commit

Permalink
feat: proposal stories
Browse files Browse the repository at this point in the history
  • Loading branch information
zintarh authored and zintarh committed Nov 13, 2024
1 parent 6ab13bc commit 112d455
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions frontend/src/stories/Proposal.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from "react";
import { Meta, StoryObj } from "@storybook/react";
import Proposal from "../components/Proposal";
import {num} from "starknet"
import { ComponentProps } from "react";

type StoryProps = ComponentProps<typeof Proposal>;
const meta: Meta<StoryProps> = {
title: "Components/Proposals",
component: Proposal,

};

export default meta;
type Story = StoryObj<StoryProps>;
export const Default: Story = {
args: {
proposalId: num.toBigInt(0)
},
render: (args) => {
return <Proposal {...args} />;
},
};

0 comments on commit 112d455

Please sign in to comment.