@eslam-elmeniawy/react-native-common-components
Version:
Common `ReactNative` components packed in library for usage in projects.
28 lines (25 loc) • 638 B
JavaScript
;
// External imports.
import * as React from 'react';
import { omit } from 'lodash';
// Types imports.
// Internal imports.
import DefaultInput from "./DefaultInput.js";
import SelectInput from "./SelectInput.js";
import { jsx as _jsx } from "react/jsx-runtime";
const TextInputInput = /*#__PURE__*/React.memo(props => {
const {
selectProps,
...other
} = props;
if (selectProps) {
return /*#__PURE__*/_jsx(SelectInput, {
...props
});
}
return /*#__PURE__*/_jsx(DefaultInput, {
...omit(other, ['theme'])
});
});
export default TextInputInput;
//# sourceMappingURL=TextInputInput.js.map