import React, {FC} from "react";
import {PropsWithChildren} from "react";

const Card: FC<PropsWithChildren<CardProps>> = ({children, className = ''}) => {

    return <div className={`${className} border m-1 rounded py-1 px-2`}>
        {children}
    </div>
}

export default Card

interface CardProps {
    className?: string
}
