Skip to content

Commit

Permalink
chore: add stories for all component
Browse files Browse the repository at this point in the history
  • Loading branch information
zintarh authored and zintarh committed Nov 19, 2024
1 parent 112d455 commit d4ef294
Show file tree
Hide file tree
Showing 27 changed files with 8,749 additions and 1,179 deletions.
12 changes: 10 additions & 2 deletions frontend/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ import "../src/globals.css"

const preview: Preview = {
parameters: {
backgrounds: {
default: 'light',
},
options: {
storySort: {
order: ['Button', 'Dailog', 'ConnectModal', 'Header', 'Proposal', 'Comments']
}
},
controls: {
matchers: {
color: /(background|color)$/i,
Expand Down Expand Up @@ -37,8 +45,8 @@ const preview: Preview = {
provider={provider}
connectors={connectors}
>
<div className="h-[100vh] mt-10 flex flex-col items-center justify-center">
{Story()}
<div className="h-[100vh] mt-10 flex flex-col items-center justify-center">
{Story()}
</div>

</StarknetConfig>
Expand Down
Loading

0 comments on commit d4ef294

Please sign in to comment.