mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-25 20:38:52 +02:00
fix(SuspensefulImage): fix export
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user