import { CardContentProps } from "@app/models/components";
import React from "react";
import "./card-content-styles.scss";
import { mapLevelToPadding } from "@app/services/utilities";

const CardContent: React.FC<CardContentProps> = ({
  padding = "lg",
  children,
}) => {
  return (
    <div className={`cardContent-root ${mapLevelToPadding(padding)}`}>
      {children}
    </div>
  );
};

export default CardContent;
