@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
25 lines (24 loc) • 689 B
JavaScript
import { CrossOutline } from '@fruits-chain/icons-react-native';
import React, { memo } from 'react';
import Theme from "../theme/index.js";
import { varCreator, styleCreator } from "./style.js";
import { jsx as _jsx } from "react/jsx-runtime";
const TextInputClear = ({
theme,
onPress
}) => {
const [CV, STYLES] = Theme.useStyle({
varCreator,
styleCreator,
theme
});
return /*#__PURE__*/_jsx(CrossOutline, {
style: STYLES.clearable,
color: CV.text_input_clearable_color,
size: CV.text_input_clearable_size / 4 * 3,
onPress: onPress
});
};
export default /*#__PURE__*/memo(TextInputClear);
//# sourceMappingURL=text-input-clear.js.map
;