From a3ed51d510b3cc4e499f4b7d34a003812be2a1c3 Mon Sep 17 00:00:00 2001 From: Konstantin Borisov Date: Fri, 16 Jun 2023 13:43:01 +0700 Subject: [PATCH] Update viewport.md According to https://github.com/storybookjs/storybook/pull/21962 new feature added, but were not documented yet. --- docs/essentials/viewport.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/essentials/viewport.md b/docs/essentials/viewport.md index ec6b7caddf45..d2742b73b81b 100644 --- a/docs/essentials/viewport.md +++ b/docs/essentials/viewport.md @@ -32,11 +32,12 @@ If you want to change the default set of viewports, you can set the global `para The viewport global can take an object with the following keys: -| Field | Type | Description | Default Value | -| ------------------- | :-----: | :---------------------------------------: | :------------: | -| **defaultViewport** | String | Sets the default viewport | `'responsive'` | -| **disable** | Boolean | Disables the viewport | N/A | -| **viewports** | Object | The configuration object for the viewport | `{}` | +| Field | Type | Description | Default Value | +| ---------------------- | :-----: | :-------------------------------------------------------: | :------------: | +| **defaultViewport** | String | Sets the default viewport | `'responsive'` | +| **defaultOrientation** | String | Sets the default orientation (e.g. portrait or landscape) | `'portrait'` | +| **disable** | Boolean | Disables the viewport | N/A | +| **viewports** | Object | The configuration object for the viewport | `{}` | The viewports object needs the following keys: