@@ -20,6 +20,8 @@ foreign import fallbackImpl :: forall r. ReactComponent { | r }
2020
2121type RootProps =
2222 { asChild :: Opt Boolean
23+ , className :: Opt String
24+ , style :: Opt CSS
2325 }
2426
2527root :: forall p kids. Coerce p RootProps => IsJSX kids => p -> kids -> JSX
@@ -42,6 +44,8 @@ toImageLoadingStatus = case _ of
4244
4345type ImageProps =
4446 { asChild :: Opt Boolean
47+ , className :: Opt String
48+ , style :: Opt CSS
4549 , onLoadingStatusChange :: Opt (ImageLoadingStatus -> Effect Unit)
4650 }
4751
@@ -56,6 +60,8 @@ image props' kids = do
5660type FallbackProps =
5761 { asChild :: Opt Boolean
5862 , delayMs :: Opt Milliseconds
63+ , className :: Opt String
64+ , style :: Opt CSS
5965 }
6066
6167fallback :: forall p kids. Coerce p FallbackProps => IsJSX kids => p -> kids -> JSX