storybook/docs/_snippets/storybook-preview-layout-param.md
2024-06-13 17:53:08 +01:00

450 B

export default {
  parameters: {
    layout: 'centered',
  },
};
// Replace your-framework with the framework you are using (e.g., react, vue3)
import { Preview } from '@storybook/your-framework';

const preview: Preview = {
  parameters: {
    layout: 'centered',
  },
};

export default preview;