import type { FunctionComponent , HTMLAttributes } from 'react' ; import type { Props } from './ContainerStyle' ; import { ContainerStyle , ContainerWrapperStyle } from './ContainerStyle' ; const Container = ( { beamColor , maxWidth , children , ... otherProps } ) => ( < ContainerWrapperStyle > < ContainerStyle beamColor = { beamColor } maxWidth = { maxWidth } { ... otherProps } > { children } < /ContainerStyle> < /ContainerWrapperStyle>); export default Container ;