import styles from './Block.module.scss'; import cn from 'classnames/bind'; import React, { FC, HTMLAttributes } from 'react'; interface BlockProps extends HTMLAttributes { bordered?: boolean; shadowed?: boolean; withBackground?: boolean; hover?: boolean; fullWidth?: boolean; } const cx = cn.bind(styles); const Block: FC = (props) => { const { children, style, className, bordered = false, fullWidth = false, hover = false, shadowed = false, withBackground = false, ...rest } = props; return (
{children}
); }; export default Block;