Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
marginRight: 5,
},
});
const CustomIcon = ({ name, style, color }) => (
);
CustomIcon.propTypes = {
name: PropTypes.string,
style: Icon.propTypes.iconStyle,
color: PropTypes.any,
};
const TextWithIcons = (props) => {
const {
leftIcon,
leftIconStyle,
rightIcon,
rightIconStyle,
text,
textStyle,
color = colors.primaryText,
containerStyle,
} = props;
return (