import React from "react";

import { Badge } from "../../../atoms/badge";
import { Div, H4, H2, Small } from "../../../atoms/base";
import { Card, CardBody } from "../../../atoms/card";


const CardTarif = (props) => {
    return (
      <Card {...props}>
      <Div textCenter>
      <Badge vocabulary mtn5 >{props.icon}</Badge>
      </Div>
    <CardBody textCenter>
      <H4>{props.title}</H4>
      <Small>{props.text}</Small>
      <H2 textPrimary>{props.coast}</H2>
    </CardBody>
    </Card>
    );
};

export default CardTarif;
