Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add buttons to appeal card
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent b1acf13 commit 85dfce6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/AppealCard.tsx
@@ -1,5 +1,6 @@
import {
Box,
Button,
Card,
CardBody,
CardFooter,
Expand Down Expand Up @@ -43,11 +44,17 @@ export default function (props: {
</Heading>
<Text>{props.learned}</Text>
</Box>
<Box>
<Button colorScheme="red">Deny</Button>
<Button colorScheme="blue" ml="8px">Accept</Button>
</Box>
</Stack>
</CardBody>
<CardFooter>
<Text fontSize="xs">
Submitted at: {new Date(props.createdAt).toLocaleString()}
<br />
ID: {props.id}
</Text>
</CardFooter>
</Card>
Expand Down

0 comments on commit 85dfce6

Please sign in to comment.