//@flow import * as React from "react"; import Card from "../Card/Card.react"; import Text from "../Text/Text.react"; import Button from "../Button/Button.react"; import Icon from "../Icon/Icon.react"; type Props = {| +children?: React.Node, +title?: string, +price?: string, +subtitle?: string, +imgUrl?: string, +imgAlt?: string, |}; function StoreCard({ children, title, subtitle, price, imgUrl, imgAlt, }: Props): React.Node { return (
{imgAlt}
{title} {subtitle}
{price}
); } export default StoreCard;