Gabriel Hernandez
|
0f02fa012e
|
create a reusable UI card component (#12455)
I notices we were reusing styles alot for the card like container UI so
I created a reusable `Card` component
The component is used like this:
```tsx
// default card is white background
<Card>
<p>whatever JSX you want</p>
</Card>
<Card color="gray">
<p>whatever JSX you want</p>
</Card>
<Card color="yellow">
<p>whatever JSX you want</p>
</Card>
<Card color="purple">
<p>whatever JSX you want</p>
</Card>
```
**white**

**gray**

**yellow**

**purple**

- [x] Manual QA for all new/changed functionality
|
2023-06-26 16:33:46 +01:00 |
|