From e4519c219e3c837ba319ed1dcbc9f072111e8bdc Mon Sep 17 00:00:00 2001 From: Sergey <148218517+qradle-yndx@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:23:43 +0300 Subject: [PATCH] fix: update Media block storybook docs (#760) --- src/blocks/Media/__stories__/Media.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/blocks/Media/__stories__/Media.mdx b/src/blocks/Media/__stories__/Media.mdx index ce80cf4ee..6b64089dd 100644 --- a/src/blocks/Media/__stories__/Media.mdx +++ b/src/blocks/Media/__stories__/Media.mdx @@ -15,7 +15,7 @@ import * as MediaStories from './Media.stories.tsx'; [`button: Button` — Button](?path=/docs/documentation-types--docs#button) -[`media: Media` — Media description](?path=/docs/documentation-types--docs) +[`media: Media` — Media description](?path=/docs/documentation-types--docs#media--imagevideodatalensyoutube) `direction: 'media-content' | 'content-media'` — Relative position of media and content. @@ -25,6 +25,10 @@ import * as MediaStories from './Media.stories.tsx'; `additionalInfo?: string` — Gray text (with YFM support) +`mediaOnly?: boolean` + +`mediaOnlyColSizes?: GridColumnSizesType` - [Title colSizes settings](?path=/docs/documentation-types--docs#colsizes) when `mediaOnly` enabled. Default `{all: 12, md: 8}` + [`links?: Link[]` — An array with link objects](?path=/docs/documentation-types--docs#link) [`buttons?: Button[]` — An array with button objects](?path=/docs/documentation-types--docs#button)