fix(SuspensefulImage): fix export

This commit is contained in:
AAGaming
2022-06-08 22:07:48 -04:00
parent ea2e072085
commit dddb703a2e

View File

@@ -7,7 +7,7 @@ interface SuspensefulImageProps extends ImgHTMLAttributes<HTMLImageElement> {
suspenseHeight?: string | number;
}
const SuspensefulImage: FC<SuspensefulImageProps> = (props) => {
export const SuspensefulImage: FC<SuspensefulImageProps> = (props) => {
const [loading, setLoading] = useState(true);
const [error, setError] = useState(false);
@@ -38,6 +38,4 @@ const SuspensefulImage: FC<SuspensefulImageProps> = (props) => {
) : (
<img {...props} />
);
};
export default SuspensefulImage;
};