mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
feat: React 18 + automatic JSX runtime + build --dev (#8961)
This commit is contained in:
parent
76f920359b
commit
187e5aa218
69 changed files with 404 additions and 209 deletions
|
@ -12,7 +12,7 @@
|
|||
* Note: the original type definition is WRONG. getIcon & getMessage receive
|
||||
* full state object.
|
||||
*/
|
||||
declare module '@endiliey/react-ideal-image' {
|
||||
declare module '@slorber/react-ideal-image' {
|
||||
import type {ComponentProps, ComponentType, CSSProperties} from 'react';
|
||||
|
||||
export type LoadingState = 'initial' | 'loading' | 'loaded' | 'error';
|
||||
|
|
|
@ -9,7 +9,7 @@ import React from 'react';
|
|||
import ReactIdealImage, {
|
||||
type IconKey,
|
||||
type State,
|
||||
} from '@endiliey/react-ideal-image';
|
||||
} from '@slorber/react-ideal-image';
|
||||
import {translate} from '@docusaurus/Translate';
|
||||
|
||||
import type {Props} from '@theme/IdealImage';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue