UNPKG

@prosperitainova/dumbo-react-native

Version:
26 lines (24 loc) 863 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PasswordInput = 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 }; } /** * PasswordInput component for rendering an input field for passwords with toggle to view * * {@link https://github.com/carbon-design-system/carbon-react-native/blob/main/example/src/Views/PasswordInput.tsx | Example code} */ class PasswordInput extends _react.default.Component { render() { return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BaseTextInputs.BaseTextInput, { type: "password", ...this.props }); } } exports.PasswordInput = PasswordInput; //# sourceMappingURL=index.js.map