diff options
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> |