diff options
| author | 2024-08-17 02:38:52 +0100 | |
|---|---|---|
| committer | 2024-08-17 02:38:52 +0100 | |
| commit | 26530587923b4b73aa5a993b320a69ec345d36f1 (patch) | |
| tree | a8b352ba26e39cc312c0e208caf1028ce76a05cf /thallium-frontend/src/components/Card.tsx | |
| parent | Remove unused React import (diff) | |
Fix all TypeScript errors so far
Diffstat (limited to 'thallium-frontend/src/components/Card.tsx')
| -rw-r--r-- | thallium-frontend/src/components/Card.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/thallium-frontend/src/components/Card.tsx b/thallium-frontend/src/components/Card.tsx index 9aac6b2..f5b8c13 100644 --- a/thallium-frontend/src/components/Card.tsx +++ b/thallium-frontend/src/components/Card.tsx @@ -1,6 +1,5 @@ import styled from 'styled-components'; - const CardContainer = styled.div` border: 3px solid ${({ theme }) => theme.borderColor}; padding: 16px; @@ -28,7 +27,7 @@ interface CardProps { children: React.ReactNode; } -const Card: React.FC<CardProps> = ({ title, children }) => { +const Card: React.FC<CardProps> = ({ title, children }: CardProps) => { return ( <CardContainer> <CardTitle>{title}</CardTitle> |