/** * * Block */ import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import styles from './styles.scss'; const Block = ({ children, description, style, title }) => (
{msg =>

{msg}

}
{children}
); Block.defaultProps = { children: null, description: 'app.utils.defaultMessage', style: {}, title: 'app.utils.defaultMessage', }; Block.propTypes = { children: PropTypes.any, description: PropTypes.string, style: PropTypes.object, title: PropTypes.string, }; export default Block;