diff --git a/packages/docusaurus-plugin-ideal-image/src/theme/IdealImage/index.tsx b/packages/docusaurus-plugin-ideal-image/src/theme/IdealImage/index.tsx index a983927ec4a3..ab14a642cec2 100644 --- a/packages/docusaurus-plugin-ideal-image/src/theme/IdealImage/index.tsx +++ b/packages/docusaurus-plugin-ideal-image/src/theme/IdealImage/index.tsx @@ -93,6 +93,10 @@ export default function IdealImage(props: Props): ReactNode { return ( = 19 not applying defaultProps + icons={ReactIdealImage.defaultProps.icons} + // @ts-expect-error: quick fix for React >= 19 not applying defaultProps + theme={ReactIdealImage.defaultProps.theme} {...propsRest} height={img.src.height ?? 100} width={img.src.width ?? 100}