]> cat aescling's git repositories - mastodon.git/blob - app/javascript/mastodon/features/compose/components/warning.js
Improve eslint rules (#3147)
[mastodon.git] / app / javascript / mastodon / features / compose / components / warning.js
1 import React from 'react';
2 import PropTypes from 'prop-types';
3
4 class Warning extends React.PureComponent {
5
6 static propTypes = {
7 message: PropTypes.node.isRequired,
8 };
9
10 render () {
11 const { message } = this.props;
12
13 return (
14 <div className='compose-form__warning'>
15 {message}
16 </div>
17 );
18 }
19
20 }
21
22 export default Warning;
This page took 0.100949 seconds and 6 git commands to generate.