Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: docs typos #7815

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion packages/vkui/src/components/Badge/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Example = () => {
</Group>

<Tabbar>
<TabbarItem text="Новости">
<TabbarItem label="Новости">
<Icon28NewsfeedOutline />
</TabbarItem>
<TabbarItem
Expand Down
4 changes: 2 additions & 2 deletions packages/vkui/src/components/Flex/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const FlexContainer = ({ itemsCount, ...props }) => {
src="https://sun9-32.userapi.com/uFzLOK55iY7pC0DHjneEdP9G6gXcXi2Mxj9wVA/wnTmzh_blNM.jpg"
/>
}
header="Для Вас"
subheader="Обновлено сегодня"
title="Для Вас"
subtitle="Обновлено сегодня"
actions={
<Button before={<Icon24Play />} onClick={() => {}}>
Слушать
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface SubnavigationButtonProps extends Omit<TappableProps, 'size'> {
size?: 's' | 'm' | 'l';
selected?: boolean;
/**
* Размер шрифта. Этим свойством рекомендуется пользоваться, чтобы отрегулировать размер шрифта у кнопок в `<SubnavigationBar mode="fixed" />`
* Размер шрифта. Этим свойством рекомендуется пользоваться, чтобы отрегулировать размер шрифта у кнопок в `<SubnavigationBar fixed />`
*/
textLevel?: '1' | '2' | '3';
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
```jsx { "props": { "layout": false, "iframe": false } }
<HorizontalCell
size="l"
header={
title={
<EllipsisText maxWidth={100} maxLines={2}>
Lorem ipsum dolor sit amet, consectetur adipiscing elit
</EllipsisText>
Expand Down
2 changes: 1 addition & 1 deletion packages/vkui/src/components/View/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const ProfilePanelContent = ({ onSettingsClick, onBack }) => {
>
<HorizontalScroll>
{getRandomUsers(15).map((user) => (
<HorizontalCell key={user.id} size="s" header={user.first_name}>
<HorizontalCell key={user.id} size="s" title={user.first_name}>
<Avatar size={56} src={user.photo_100} />
</HorizontalCell>
))}
Expand Down
Loading