mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
17 lines
312 B
JavaScript
17 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
|