"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextInput = void 0;
const tslib_1 = require("tslib");
const react_native_masked_input_1 = tslib_1.__importDefault(require("react-native-masked-input"));
const native_1 = tslib_1.__importDefault(require("styled-components/native"));
const theme_toolkit_1 = require("@platformbuilders/theme-toolkit");
// import { TextInput as TextInputStyle } from '../styles';
// const MaskedInput = TextInputStyle.withComponent(TextInputMask);
const placeholderTextColor = (0, theme_toolkit_1.getTheme)('text.light');
exports.TextInput = (0, native_1.default)(react_native_masked_input_1.default).attrs((props) => ({
    placeholderTextColor: props.placeholderTextColor
        ? props.placeholderTextColor
        : placeholderTextColor(props),
})) `
  flex: 1;
`;
//# sourceMappingURL=styles.js.map