import type { CSSProperties, SyntheticEvent } from "react";

export const imageSkeletonFadeStyle: CSSProperties = {
    opacity: 0,
    transition: "opacity 0.3s",
};

export function onImageSkeletonLoad(e: SyntheticEvent<HTMLImageElement>) {
    e.currentTarget.style.opacity = "1";
}
