Skip to content

Commit 9452bd6

Browse files
committed
✨ update Card
1 parent 9b12027 commit 9452bd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/atomic/molecules/Card/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import { RoundImage } from "@root/atomic/atoms";
55
import { CardTitle, Container } from "./styles";
66

77
export interface CardProps {
8-
image: string;
8+
image: number | { uri: string };
99
title: string;
1010
}
1111

1212
export const Card = ({ image, title }: CardProps) => {
1313
return (
1414
<Container>
15-
<RoundImage source={{ uri: image }} />
15+
<RoundImage source={image} />
1616
<CardTitle>{title}</CardTitle>
1717
</Container>
1818
);

0 commit comments

Comments
 (0)