Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions website/content/components/flex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ VKUI (например, [`Header`](/components/group#header) и [`SimpleCell`](/
```jsx
<Group mode="card" header={<Header size="s">Друзья</Header>}>
<Flex gap="m" justify="center" margin="auto">
<Avatar size={48} src="#" initials="ДС" gradientColor="orange" />
<Avatar size={48} src="#" initials="ИМ" gradientColor="yellow" />
<Avatar size={48} src="#" initials="ВЖ" gradientColor="violet" />
<Avatar size={48} src="#" initials="ЭМ" gradientColor="green" />
<Avatar size={48} initials="ДС" gradientColor="orange" />
<Avatar size={48} initials="ИМ" gradientColor="yellow" />
<Avatar size={48} initials="ВЖ" gradientColor="violet" />
<Avatar size={48} initials="ЭМ" gradientColor="green" />
</Flex>
</Group>
```
Expand All @@ -125,11 +125,11 @@ VKUI (например, [`Header`](/components/group#header) и [`SimpleCell`](/
<Playground>
```jsx
<Flex gap="m" justify="center" margin="auto">
<Card>Колонка</Card>
<Card Component="div">Колонка</Card>
<Flex.Item flexBasis={100}>
<Card>Ширина 100px</Card>
<Card Component="div">Ширина 100px</Card>
</Flex.Item>
<Card>Колонка</Card>
<Card Component="div">Колонка</Card>
</Flex>
```
</Playground>
Expand Down
Loading