diff --git a/MIGRATION.md b/MIGRATION.md index 96ae5db1d8f5..49708f886919 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -3,6 +3,7 @@ - [From version 6.0.x to 6.1.0](#from-version-60x-to-610) - [6.1 deprecations](#61-deprecations) - [Deprecated onBeforeRender](#deprecated-onbeforerender) + - [Deprecated grid parameter](#deprecated-grid-parameter) - [From version 5.3.x to 6.0.x](#from-version-53x-to-60x) - [Hoisted CSF annotations](#hoisted-csf-annotations) - [Zero config typescript](#zero-config-typescript) @@ -142,6 +143,37 @@ The `@storybook/addon-docs` previously accepted a `jsx` option called `onBeforeR We've renamed it `transformSource` and also allowed it to receive the `StoryContext` in case source rendering requires additional information. +#### Deprecated grid parameter + +Previously when using `@storybook/addon-backgrounds` if you wanted to customize the grid, you would define a parameter like this: + +```js +export const Basic = () =>