import { Box, BoxProps } from '@chakra-ui/react'
import * as React from 'react'
// import styles from './style.module.scss'
interface IMarkdownWrapperProps {
  children?: React.ReactNode
}

export const MarkdownWrapper: React.FunctionComponent<IMarkdownWrapperProps & BoxProps> = (props) => {
  const { children, ...style } = props
  return (
    <Box className={`markdown`} {...style}>
      {children}
    </Box>
  )
}
