We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce0ab1 commit 10859c7Copy full SHA for 10859c7
packages/react/src/bloks.tsx
@@ -6,7 +6,7 @@ import type { BlokData } from './types';
6
import type { ISbStoryData } from '@storyblok/js';
7
8
export interface BloksProps<T extends BlokData> {
9
- fallback?: React.ComponentType<{ blok: T }>;
+ fallback?: React.ComponentType<{ blok: T; story?: ISbStoryData }>;
10
children: ReactElement<BlokProps<T>> | ReactElement<BlokProps<T>>[];
11
blok: T;
12
story?: ISbStoryData; // Add story data support
0 commit comments