-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efed47a
commit b84ed64
Showing
4 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import {Meta} from '@storybook/blocks'; | ||
|
||
import {StoryTemplate} from '../../../demo/StoryTemplate.mdx'; | ||
import * as ContentStories from './Content.stories.tsx'; | ||
|
||
<Meta of={ContentStories} /> | ||
<StoryTemplate> | ||
## Parameters | ||
|
||
[`title?: Title | string` - title](?path=/docs/documentation-types--docs#title-block-title) | ||
|
||
`text?: string` — Text (with YFM support) | ||
|
||
`additionalInfo?: string` — Gray text (with YFM support) | ||
|
||
[`links?: Link[]` — An array with link objects](?path=/docs/documentation-types--docs#link--link) | ||
|
||
[`buttons?: Button[]` — An array with button objects](?path=/docs/documentation-types--docs#button--button) | ||
|
||
`centered?: false | true` - Aligns all content to the center ('false' by default) | ||
|
||
`theme?: 'default' | 'dark' | 'light'` — Component's theme: default, dark, or monochrome light ('default' by default). | ||
|
||
- `size?: 's' | 'l'` — Component's size that defines font sizes ('l' by default) | ||
|
||
`сolSizes?: Object` — Width of buttons tabs, the value ranges from 1 to 12 columns. If 12 columns, buttons takes up the entire width of the row. | ||
|
||
- `all: number` — On all screens. | ||
- `sm: number` — On a screen wider than 577px. | ||
- `md: number` — On a screen wider than 769px. | ||
- `lg: number` — On a screen wider than 1081px. | ||
- `xl: number` — On a screen wider than 1185px. | ||
|
||
`list: Array` - An Array of items with icon | ||
- [`icon: string | ImageObjectProps` — Icon](?path=/docs/documentation-types--docs#imageobjectprops--image-property). | ||
- `title?: string` — Title. | ||
- `text?: string` — Text (with YFM support) | ||
</StoryTemplate> |