UNPKG

1.24 kBJavaScriptView Raw
1import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2import _createClass from "@babel/runtime/helpers/createClass";
3import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
4import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
5import _inherits from "@babel/runtime/helpers/inherits";
6import React, { Component } from 'react';
7
8var ShowInput =
9/*#__PURE__*/
10function (_Component) {
11 _inherits(ShowInput, _Component);
12
13 function ShowInput(props) {
14 _classCallCheck(this, ShowInput);
15
16 return _possibleConstructorReturn(this, _getPrototypeOf(ShowInput).call(this, props));
17 }
18
19 _createClass(ShowInput, [{
20 key: "render",
21 value: function render() {
22 var props = this.props;
23 return React.createElement("input", {
24 defaultValue: props.defaultValue,
25 onKeyDown: props.onKeyDown,
26 disabled: props.disabled,
27 onChange: props.onChange,
28 value: props.value,
29 onFocus: props.onFocus,
30 onClick: props.onClick,
31 onBlur: props.onBlur,
32 placeholder: props.placeholder,
33 className: props.className
34 });
35 }
36 }]);
37
38 return ShowInput;
39}(Component);
40
41export { ShowInput as default };
\No newline at end of file