mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-05 22:33:05 +01:00
16 lines
312 B
JavaScript
16 lines
312 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
|
|
class ScrollContainer extends React.Component {
|
|
static propTypes = {
|
|
children: PropTypes.node
|
|
}
|
|
|
|
render() {
|
|
return <div className="maputnik-scroll-container">
|
|
{this.props.children}
|
|
</div>
|
|
}
|
|
}
|
|
|
|
export default ScrollContainer
|