-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a
Card
component for overview elements
- Loading branch information
1 parent
a71401d
commit 078f0bb
Showing
3 changed files
with
33 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
import React from "react" | ||
import { Text, Box } from "@chakra-ui/react" | ||
import { CardBody, Card } from "@chakra-ui/react" | ||
import { TextMd } from "../Typography" | ||
|
||
export default function Statistics() { | ||
return ( | ||
<Box> | ||
<Text>Pool stats</Text> | ||
</Box> | ||
<Card h="100%"> | ||
<CardBody> | ||
<TextMd>Pool stats</TextMd> | ||
</CardBody> | ||
</Card> | ||
) | ||
} |
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,10 +1,13 @@ | ||
import React from "react" | ||
import { Text, Box } from "@chakra-ui/react" | ||
import { CardBody, Card } from "@chakra-ui/react" | ||
import { TextMd } from "../Typography" | ||
|
||
export default function TransactionHistory() { | ||
return ( | ||
<Box> | ||
<Text>Transaction history</Text> | ||
</Box> | ||
<Card h="100%"> | ||
<CardBody> | ||
<TextMd>Transaction history</TextMd> | ||
</CardBody> | ||
</Card> | ||
) | ||
} |