import * as PropTypes from 'prop-types' ; import * as React from 'react' ; import { ScrollBoxContent , ScrollBoxStyled } from './ScrollBox.style' ; type ScrollBoxViewProps = { children : any ; } ; export const ScrollBoxView = ( { children } ) => { return ( < ScrollBoxStyled > < ScrollBoxContent > { children } < /ScrollBoxContent> < /ScrollBoxStyled>); } ; ScrollBoxView . propTypes = { component : PropTypes . oneOfType ( [ PropTypes . func . isRequired , PropTypes . object . isRequired ] ) , } ; ScrollBoxView . defaultProps = { } ;