Skip to content

Commit

Permalink
fix: update Media block storybook docs (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
qradle-yndx authored Jan 9, 2024
1 parent 670a927 commit e4519c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/blocks/Media/__stories__/Media.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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)
Expand Down

0 comments on commit e4519c2

Please sign in to comment.