Skip to content

Commit 7856a3e

Browse files
authored
docs(Flex): a11y error fix (#9121)
1 parent cab1f7b commit 7856a3e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

website/content/components/flex.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ VKUI (например, [`Header`](/components/group#header) и [`SimpleCell`](/
108108
```jsx
109109
<Group mode="card" header={<Header size="s">Друзья</Header>}>
110110
<Flex gap="m" justify="center" margin="auto">
111-
<Avatar size={48} src="#" initials="ДС" gradientColor="orange" />
112-
<Avatar size={48} src="#" initials="ИМ" gradientColor="yellow" />
113-
<Avatar size={48} src="#" initials="ВЖ" gradientColor="violet" />
114-
<Avatar size={48} src="#" initials="ЭМ" gradientColor="green" />
111+
<Avatar size={48} initials="ДС" gradientColor="orange" />
112+
<Avatar size={48} initials="ИМ" gradientColor="yellow" />
113+
<Avatar size={48} initials="ВЖ" gradientColor="violet" />
114+
<Avatar size={48} initials="ЭМ" gradientColor="green" />
115115
</Flex>
116116
</Group>
117117
```
@@ -125,11 +125,11 @@ VKUI (например, [`Header`](/components/group#header) и [`SimpleCell`](/
125125
<Playground>
126126
```jsx
127127
<Flex gap="m" justify="center" margin="auto">
128-
<Card>Колонка</Card>
128+
<Card Component="div">Колонка</Card>
129129
<Flex.Item flexBasis={100}>
130-
<Card>Ширина 100px</Card>
130+
<Card Component="div">Ширина 100px</Card>
131131
</Flex.Item>
132-
<Card>Колонка</Card>
132+
<Card Component="div">Колонка</Card>
133133
</Flex>
134134
```
135135
</Playground>

0 commit comments

Comments
 (0)