mgabdev ddca693cfc Continuing updating the reformatting of propTypes and set redux, intl functions to end of component
• Removing:
- the reformatting of propTypes and set redux, intl functions to end of component
2020-08-17 19:57:35 -05:00

25 lines
436 B
JavaScript

import React from 'react'
import PropTypes from 'prop-types'
/**
* Renders a block component
*/
class Block extends React.PureComponent {
render() {
const { children } = this.props
return (
<div className={[_s.default, _s.boxShadowBlock, _s.bgPrimary, _s.overflowHidden, _s.radiusSmall].join(' ')}>
{children}
</div>
)
}
}
Block.propTypes = {
children: PropTypes.any,
}
export default Block