blob: 40cf515a1ef37da0ee829adb7f3465383d6a0252 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import type { FC, HTMLAttributes } from 'react';
import styles from './card.module.scss';
export type CardBodyProps = HTMLAttributes<HTMLElement>;
export const CardBody: FC<CardBodyProps> = ({
children,
className = '',
...props
}) => {
const bodyClass = `${styles.body} ${className}`;
return (
<div {...props} className={bodyClass}>
{children}
</div>
);
};
|