Skip to content

Commit 0dd2601

Browse files
Julien Bouquillongarronej
andauthored
Update stories/getStory.tsx
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com> Signed-off-by: Julien Bouquillon <contact@revolunet.com>
1 parent 82c6a4c commit 0dd2601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stories/getStory.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ export function getStoryFactory<Props extends Record<string, any>>(params: {
9494

9595
function getStory(
9696
props: Props,
97-
params?: { containerWidth?: number; description?: string }
97+
params?: { defaultContainerWidth?: number; description?: string }
9898
): typeof Template {
99-
const { containerWidth, description } = params ?? {};
99+
const { defaultContainerWidth: defaultContainerWidthStoryLevel, description } = params ?? {};
100100

101101
const out = Template.bind({});
102102

0 commit comments

Comments
 (0)