@storyblok/react
Advanced tools
Comparing version 2.4.4 to 2.4.5
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index2.js"),t=require("./story.js"),r=require("./bridge-loader.js"),l=require("./storyblok-component.js"),e=require("./storyblok-js.js");exports.getComponent=o.getComponent;exports.getCustomFallbackComponent=o.getCustomFallbackComponent;exports.getEnableFallbackComponent=o.getEnableFallbackComponent;exports.getStoryblokApi=o.useStoryblokApi;exports.setComponents=o.setComponents;exports.storyblokInit=o.storyblokInit;exports.useStoryblokApi=o.useStoryblokApi;exports.StoryblokStory=t;exports.BridgeLoader=r;exports.StoryblokComponent=l;exports.RichTextResolver=e.RichTextResolver;exports.RichTextSchema=e.RichTextSchema;exports.apiPlugin=e.apiPlugin;exports.loadStoryblokBridge=e.loadStoryblokBridge;exports.registerStoryblokBridge=e.registerStoryblokBridge;exports.renderRichText=e.renderRichText;exports.storyblokEditable=e.storyblokEditable;exports.useStoryblokBridge=e.registerStoryblokBridge; | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index2.js"),r=require("./story.js"),t=require("./bridge-loader.js"),l=require("./storyblok-component.js"),e=require("./storyblok-js.js");exports.getComponent=o.getComponent;exports.getCustomFallbackComponent=o.getCustomFallbackComponent;exports.getEnableFallbackComponent=o.getEnableFallbackComponent;exports.getStoryblokApi=o.useStoryblokApi;exports.setComponents=o.setComponents;exports.storyblokInit=o.storyblokInit;exports.useStoryblokApi=o.useStoryblokApi;exports.StoryblokStory=r;exports.BridgeLoader=t;exports.StoryblokBridgeLoader=t;exports.StoryblokComponent=l;exports.RichTextResolver=e.RichTextResolver;exports.RichTextSchema=e.RichTextSchema;exports.apiPlugin=e.apiPlugin;exports.loadStoryblokBridge=e.loadStoryblokBridge;exports.registerStoryblokBridge=e.registerStoryblokBridge;exports.renderRichText=e.renderRichText;exports.storyblokEditable=e.storyblokEditable;exports.useStoryblokBridge=e.registerStoryblokBridge; |
export * from "../common"; | ||
export { default as StoryblokStory } from "../story"; | ||
export { default as BridgeLoader } from "../bridge-loader"; | ||
export { default as StoryblokBridgeLoader } from "../bridge-loader"; |
{ | ||
"name": "@storyblok/react", | ||
"version": "2.4.4", | ||
"version": "2.4.5", | ||
"description": "SDK to integrate Storyblok into your project using React.", | ||
@@ -55,9 +55,9 @@ "main": "./dist/index.js", | ||
"@tsconfig/recommended": "^1.0.2", | ||
"@types/react": "18.2.20", | ||
"@types/react": "18.2.21", | ||
"@vitejs/plugin-react": "^4.0.4", | ||
"babel-jest": "^29.6.2", | ||
"babel-jest": "^29.6.3", | ||
"cypress": "^9.7.0", | ||
"eslint-plugin-cypress": "^2.14.0", | ||
"eslint-plugin-jest": "^27.2.3", | ||
"jest": "^29.6.2", | ||
"jest": "^29.6.3", | ||
"react": "^18.2.0", | ||
@@ -64,0 +64,0 @@ "react-dom": "^18.2.0", |
@@ -281,2 +281,4 @@ <div align="center"> | ||
```js | ||
const bridgeOptions = { resolveRelations: ["article.author"] }; | ||
<StoryblokStory story={data.story} bridgeOptions={bridgeOptions} /> | ||
@@ -318,2 +320,4 @@ ``` | ||
export default RootLayout({ children }) =>{ | ||
const bridgeOptions = { resolveRelations: ["article.author"] }; | ||
return ( | ||
@@ -320,0 +324,0 @@ <html lang="en"> |
Sorry, the diff of this file is not supported yet
93375
1235
630