function useImageOnLoadDeprecatedDeprecatedThis hook is deprecated and will be removed in a future release. import { useImageOnLoad } from "https://deno.land/x/netzo@0.4.62/deps/usehooks-ts.ts"; DeprecatedThis hook is deprecated and will be removed in a future release. useImageOnLoad(): ImageOnLoadTypeCustom hook for handling image loading events and providing related CSS styles. Custom hook for handling image loading events and providing related CSS styles. Examplesconst { handleImageOnLoad, css } = useImageOnLoad(); // Use handleImageOnLoad as the onLoad handler for the full-size image. // Apply the CSS styles from the css object to control visibility and transitions. ReturnsImageOnLoadTypeAn object containing a function to handle image load events and related CSS styles.