UNPKG

@prosperitainova/dumbo-react-native

Version:
25 lines (24 loc) 861 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DateInput = 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 }; } /** * This component is just basic text inpput with style. * Deciding on calendar system or native system is pending. * {@link https://github.com/carbon-design-system/carbon-react-native/blob/main/example/src/Views/DateInput.tsx | Example code} */ class DateInput extends _react.default.Component { render() { return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BaseTextInputs.BaseTextInput, { type: "date", ...this.props }); } } exports.DateInput = DateInput; //# sourceMappingURL=index.js.map