react-cosmos-renderer
Advanced tools
Comparing version 6.0.0-beta.5 to 6.0.0-beta.7
@@ -7,3 +7,3 @@ import React from 'react'; | ||
}; | ||
export declare function FixtureCapture({ children, decoratorId }: Props): JSX.Element; | ||
export declare function FixtureCapture({ children, decoratorId }: Props): React.JSX.Element; | ||
export {}; |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
}; | ||
export declare function Viewport({ children, width, height }: Props): JSX.Element; | ||
export declare function Viewport({ children, width, height }: Props): React.JSX.Element; | ||
export declare namespace Viewport { | ||
@@ -10,0 +10,0 @@ var cosmosCapture: boolean; |
@@ -1,2 +0,2 @@ | ||
import { ReactElement } from 'react'; | ||
import React, { ReactElement } from 'react'; | ||
import { ReactDecorator, UserModuleWrappers } from 'react-cosmos-core'; | ||
@@ -8,3 +8,3 @@ type Props = { | ||
}; | ||
export declare function ClientFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, }: Props): JSX.Element; | ||
export declare function ClientFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, }: Props): React.JSX.Element; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
export declare function defaultRenderMessage(msg: string): JSX.Element; | ||
import React from 'react'; | ||
export declare function defaultRenderMessage(msg: string): React.JSX.Element; |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
}; | ||
export declare function FixtureLoaderConnect({ moduleWrappers, selectedFixture, renderMessage, renderFixture, }: Props): JSX.Element; | ||
export declare function FixtureLoaderConnect({ moduleWrappers, selectedFixture, renderMessage, renderFixture, }: Props): React.JSX.Element; | ||
export {}; |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
}; | ||
export declare function RendererSync({ children, fixtures }: Props): JSX.Element; | ||
export declare function RendererSync({ children, fixtures }: Props): React.JSX.Element; | ||
export {}; |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
}; | ||
export declare function ServerFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, selectedFixture, }: Props): JSX.Element; | ||
export declare function ServerFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, selectedFixture, }: Props): React.JSX.Element; | ||
export {}; |
@@ -0,1 +1,3 @@ | ||
// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/65220 | ||
/// <reference types="react/experimental" /> | ||
import React, { Suspense } from 'react'; | ||
@@ -2,0 +4,0 @@ import { FixtureModule } from '../fixtureModule/FixtureModule.js'; |
@@ -13,3 +13,3 @@ import React from 'react'; | ||
}; | ||
export declare function FixtureModule({ fixtureModule, decoratorModules, globalDecorators, fixtureId, initialFixtureState, renderKey, lazy, renderMessage, }: Props): JSX.Element; | ||
export declare function FixtureModule({ fixtureModule, decoratorModules, globalDecorators, fixtureId, initialFixtureState, renderKey, lazy, renderMessage, }: Props): React.JSX.Element; | ||
export {}; |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
}; | ||
export declare function FixtureProvider(props: Props): JSX.Element; | ||
export declare function FixtureProvider(props: Props): React.JSX.Element; | ||
export {}; |
@@ -14,3 +14,3 @@ import React from 'react'; | ||
}; | ||
export declare function RendererProvider(props: Props): JSX.Element; | ||
export declare function RendererProvider(props: Props): React.JSX.Element; | ||
export {}; |
@@ -11,3 +11,3 @@ import React from 'react'; | ||
}; | ||
export declare function StatefulRendererProvider({ children, selectedFixtureId, ...otherProps }: Props): JSX.Element; | ||
export declare function StatefulRendererProvider({ children, selectedFixtureId, ...otherProps }: Props): React.JSX.Element; | ||
export {}; |
{ | ||
"name": "react-cosmos-renderer", | ||
"version": "6.0.0-beta.5", | ||
"version": "6.0.0-beta.7", | ||
"description": "React Cosmos Renderer", | ||
@@ -15,6 +15,6 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos-renderer", | ||
"lodash-es": "^4.17.21", | ||
"react-cosmos-core": "6.0.0-beta.5", | ||
"react-cosmos-core": "6.0.0-beta.7", | ||
"react-is": "^18.2.0" | ||
}, | ||
"gitHead": "43919661a2ceb070ebc958bb7f6e52d5422ddc65" | ||
"gitHead": "0d57027263ffb3d55fa1feb31db3640db2e89cc9" | ||
} |
71008
1520
+ Addedreact-cosmos-core@6.0.0-beta.7(transitive)
- Removedreact-cosmos-core@6.0.0-beta.5(transitive)