UNPKG

@prosperitainova/dumbo-react-native

Version:
25 lines (24 loc) 800 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TextInput = void 0; var _react = _interopRequireDefault(require("react")); var _BaseTextInputs = require("../BaseTextInputs"); var _jsxRuntime = require("react/jsx-runtime"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** * TextInput component for rendering text input box * * {@link https://github.com/carbon-design-system/carbon-react-native/blob/main/example/src/Views/TextInput.tsx | Example code} */ class TextInput extends _react.default.Component { render() { return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BaseTextInputs.BaseTextInput, { type: "text", ...this.props }); } } exports.TextInput = TextInput; //# sourceMappingURL=index.js.map