Files
2024-03-06 09:42:12 +01:00

16 lines
329 B
TypeScript

import React, {FC} from "react"
import {PropsWithChildren} from "react"
const Card: FC<PropsWithChildren<CardProps>> = ({children, className = ''}) => {
return <div className={`${className} m-1 rounded border px-2 py-1`}>
{children}
</div>
}
export default Card
interface CardProps {
className?: string
}