@prosperitainova/dumbo-react-native
Version:
Dumbo for React Native Library
20 lines (18 loc) • 579 B
JavaScript
;
import React from 'react';
import { BaseTextInput } from '../BaseTextInputs';
import { jsx as _jsx } from "react/jsx-runtime";
/**
* 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}
*/
export class PasswordInput extends React.Component {
render() {
return /*#__PURE__*/_jsx(BaseTextInput, {
type: "password",
...this.props
});
}
}
//# sourceMappingURL=index.js.map