import React from 'react'; import {useImgSrc} from '@moda/imgsrc'; import './responsive_image_placeholder.scss'; interface Props { src: string; maxWidth?: number; maxHeight?: number; } const DEFAULT_SIZE = 200; export const ResponsiveImagePlaceholder: React.FC = ({ src, maxWidth = DEFAULT_SIZE, maxHeight = DEFAULT_SIZE }) => { const {resize} = useImgSrc(); return (
); };