You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
357 B

import React from 'react';
import PropTypes from 'prop-types';
class Warning extends React.PureComponent {
static propTypes = {
message: PropTypes.node.isRequired
};
render () {
const { message } = this.props;
return (
<div className='compose-form__warning'>
{message}
</div>
);
}
}
export default Warning;