We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b12027 commit 9452bd6Copy full SHA for 9452bd6
src/atomic/molecules/Card/index.tsx
@@ -5,14 +5,14 @@ import { RoundImage } from "@root/atomic/atoms";
5
import { CardTitle, Container } from "./styles";
6
7
export interface CardProps {
8
- image: string;
+ image: number | { uri: string };
9
title: string;
10
}
11
12
export const Card = ({ image, title }: CardProps) => {
13
return (
14
<Container>
15
- <RoundImage source={{ uri: image }} />
+ <RoundImage source={image} />
16
<CardTitle>{title}</CardTitle>
17
</Container>
18
);
0 commit comments