maputnik/src/components/ScrollContainer.jsx

17 lines
312 B
React
Raw Normal View History

2016-12-17 20:19:01 +01:00
import React from 'react'
2017-11-08 09:47:36 +01:00
import PropTypes from 'prop-types'
2016-12-17 20:19:01 +01:00
2017-11-08 09:47:36 +01:00
class ScrollContainer extends React.Component {
static propTypes = {
children: PropTypes.node
}
render() {
return <div className="maputnik-scroll-container">
{this.props.children}
</div>
}
2016-12-17 20:19:01 +01:00
}
export default ScrollContainer