1 | import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
2 | import _createClass from "@babel/runtime/helpers/createClass";
|
3 | import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
4 | import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
5 | import _inherits from "@babel/runtime/helpers/inherits";
|
6 | import React, { Component } from 'react';
|
7 |
|
8 | var ShowInput =
|
9 |
|
10 | function (_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 |
|
41 | export { ShowInput as default }; |
\ | No newline at end of file |