mars-v2-frontend/components/Card.tsx
Linkie Link ee71260429
MP-1660: base components (#57)
* MP-1660: base components

* fix: removed lodash.isequal
2022-11-29 17:45:00 +01:00

23 lines
425 B
TypeScript

import classNames from 'classnames'
import { ReactNode } from 'react'
interface Props {
children: ReactNode
className?: string
}
const Card = ({ children, className }: Props) => {
return (
<div
className={classNames(
className,
'h-fit w-full max-w-full rounded-xl border-[7px] border-accent-highlight p-4 gradient-card',
)}
>
{children}
</div>
)
}
export default Card