ImageOnLoad
Basic
API:
https://github.com/evenchange4/react-image-onload#api
Story Source
<InputOnLoad
src
=
"http://via.placeholder.com/350x150"
onLoad
=
{
onLoad()
}
/>
Prop Types
"InputOnLoad" Component
property
propType
required
default
description
src
string
yes
-
onLoad
(image: HTMLImageElement) => Promise<void> | void
yes
-