-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip(refactor/molecules): consistent stories
- Loading branch information
Showing
12 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
src/components/Molecules/AccountCard/AccountCard.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { type Meta, type StoryObj } from "@storybook/react"; | ||
import { AccountCard as AccountCardComponent } from "./AccountCard"; | ||
|
||
type Story = StoryObj<typeof AccountCardComponent>; | ||
|
||
const meta: Meta<typeof AccountCardComponent> = { | ||
title: "Molecules/Account Card", | ||
component: AccountCardComponent, | ||
}; | ||
|
||
export default meta; | ||
|
||
export const AccountCard: Story = { | ||
args: { | ||
address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", | ||
type: "effigy", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
src/components/Molecules/AccountCardView/AccountCardView.stories.tsx
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
src/components/Molecules/CollectionCard/CollectionCard.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { type Meta, type StoryObj } from "@storybook/react"; | ||
import { CollectionCard as CollectionCardComponent } from "./CollectionCard"; | ||
|
||
type Story = StoryObj<typeof CollectionCardComponent>; | ||
|
||
const meta: Meta<typeof CollectionCardComponent> = { | ||
title: "Molecules/Collection Card", | ||
component: CollectionCardComponent, | ||
}; | ||
|
||
export default meta; | ||
|
||
export const CollectionCard: Story = { | ||
args: { | ||
collection_address: "0xe785e82358879f061bc3dcac6f0444462d4b5330", | ||
chain_name: "eth-mainnet", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
src/components/Molecules/CollectionCardView/CollectionCardView.stories.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters