From fd18ac5cd96f76a39de57bb6a877d3f0faf7c528 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 20 Jun 2018 10:15:31 +0300 Subject: refactoring --- vnext/src/components/MessageInput.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 vnext/src/components/MessageInput.js (limited to 'vnext/src/components/MessageInput.js') diff --git a/vnext/src/components/MessageInput.js b/vnext/src/components/MessageInput.js new file mode 100644 index 00000000..2a7eab1d --- /dev/null +++ b/vnext/src/components/MessageInput.js @@ -0,0 +1,26 @@ +import React from 'react'; + +import { MessageType } from './Types'; + +export default class MessageInput extends React.Component { + constructor(props) { + super(props) + } + render() { + const msg = this.props.data; + return ( +
+ +
+
+ +
+
+
+ ) + } +} + +MessageInput.propTypes = { + data: MessageType +}; \ No newline at end of file -- cgit v1.2.3