Skip to content

Commit 10859c7

Browse files
committed
refactor(Bloks): simplify warning message formatting
1 parent 1ce0ab1 commit 10859c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/bloks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { BlokData } from './types';
66
import type { ISbStoryData } from '@storyblok/js';
77

88
export interface BloksProps<T extends BlokData> {
9-
fallback?: React.ComponentType<{ blok: T }>;
9+
fallback?: React.ComponentType<{ blok: T; story?: ISbStoryData }>;
1010
children: ReactElement<BlokProps<T>> | ReactElement<BlokProps<T>>[];
1111
blok: T;
1212
story?: ISbStoryData; // Add story data support

0 commit comments

Comments
 (0)