import React from 'react';
import type { ImageStyle, ViewStyle } from 'react-native';
import { Image, Pressable, StyleSheet } from 'react-native';
import { useClearOption } from './clear-option.hooks';
const iconSource = require('./../../assets/icons/x.png');
export const ClearOption = () => {
const {
disabled,
clearOptionButtonProps,
clearOptionImageProps,
iconCustomStyles,
containerCustomStyles,
onPressClearOption,
} = useClearOption();
return (
);
};
type Styles = {
xIcon: ImageStyle;
xIconWrapper: ViewStyle;
};
const styles = StyleSheet.create({
xIconWrapper: {
height: '100%',
justifyContent: 'center',
},
xIcon: {
width: 20,
height: 20,
zIndex: 1,
},
});