Skip to main content

resized

Sets screen dimensions for the provided stories:

resized(
// Accepts a story configuration object
({ device }) =>
// On mobile devices, the screen will be stretched vertically to fit the entire page content
device.name === 'mobile' ? { height: 1200 } : undefined,
stories,
);