This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from taraldefi/feat/tables
Feat/tables
- Loading branch information
Showing
11 changed files
with
494 additions
and
64 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
// Generated with util/create-component.js | ||
import { ComponentMeta, ComponentStory } from "@storybook/react"; | ||
import React from "react"; | ||
import PoolCard from "./PoolCard"; | ||
|
||
import { Meta, StoryFn } from '@storybook/react'; | ||
import React from 'react'; | ||
import PoolCard from './PoolCard'; | ||
|
||
export default { | ||
title: "Pool Card", | ||
title: 'Pool Card', | ||
component: PoolCard, | ||
// More on argTypes: https://storybook.js.org/docs/react/api/argtypes | ||
argTypes: {}, | ||
} as ComponentMeta<typeof PoolCard>; | ||
} as Meta<typeof PoolCard>; | ||
|
||
const Template: ComponentStory<typeof PoolCard> = (args) => ( | ||
<PoolCard {...args} /> | ||
); | ||
const Template: StoryFn<typeof PoolCard> = (args) => <PoolCard {...args} />; | ||
|
||
export const Card = Template.bind({}); | ||
// More on args: https://storybook.js.org/docs/react/writing-stories/args | ||
Card.args = { | ||
poolTitle: "Cauris Fund #4: Africa Innovation Pool", | ||
poolDescription: "Fintech loans in Africa", | ||
poolTitle: 'Cauris Fund #4: Africa Innovation Pool', | ||
poolDescription: 'Fintech loans in Africa', | ||
unitranche: true, | ||
poolStat: "12.15% USDC", | ||
poolSubstat: "19.28% with GFI", | ||
poolState: "yield", | ||
|
||
poolStat: '12.15% USDC', | ||
poolSubstat: '19.28% with GFI', | ||
poolState: 'yield', | ||
}; |
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
Oops, something went wrong.