Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import exampleImage from '../../assets/170x251.jpg';
const cx = classNames.bind(styles);
const propTypes = { fit: PropTypes.string, variant: PropTypes.string };
const ImageFitTypes = ({
...props
}) => (
<div>
<img src="{exampleImage}" alt="Toggle fit image">
</div>
);
ImageFitTypes.propTypes = propTypes;
export default FitTypesWrapper(ImageFitTypes);