import React, { FC, HTMLAttributes } from 'react' import classNames from 'classnames' interface BoxProps extends HTMLAttributes { hasGap?: boolean } /** Box,用来包裹一块内容 */ const Box: FC = (props) => { const { hasGap, className, children, ...rest } = props return (
{children}
) } export default Box export type { BoxProps }