Repository URL to install this package:
|
Version:
2.0.2 ▾
|
"use strict";
var __importDefault = this && this.__importDefault || function (mod) {
return mod && mod.__esModule ? mod : {
"default": mod
};
};
Object.defineProperty(exports, "__esModule", {
value: true
});
const react_1 = __importDefault(require("react"));
const styled_1 = require("./styled");
const Input = ({
value,
onChange
}) => react_1.default.createElement(styled_1.StyledInputSection, null, react_1.default.createElement(styled_1.StyledInput, {
type: "text",
value: value,
onChange: e => onChange(e.target.value),
placeholder: "please input text"
}), react_1.default.createElement(styled_1.StyledInputLabel, null, value));
exports.default = Input; //# sourceMappingURL=Input.js.map