;
export const Playground: Story = {
args: {
src: 'https://images.unsplash.com/photo-1603988492906-4fb0fb251cf8?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1600&q=80',
- subtitle: 'unsplash',
+ subhead: 'unsplash',
header: 'brown and gray mountains under blue sky during daytime photo',
text: 'Mountain changji',
caption: 'Photo by Siyuan on Unsplash',
diff --git a/packages/vkui/src/components/ContentCard/ContentCard.test.tsx b/packages/vkui/src/components/ContentCard/ContentCard.test.tsx
index 8a29e873f4..d781662d7d 100644
--- a/packages/vkui/src/components/ContentCard/ContentCard.test.tsx
+++ b/packages/vkui/src/components/ContentCard/ContentCard.test.tsx
@@ -5,7 +5,7 @@ import { ContentCard, type ContentCardProps } from './ContentCard';
const ContentCardTest = (props: ContentCardProps) => (
)}
- {hasReactNode(subtitle) && (
-
- {subtitle}
+ {hasReactNode(subhead) && (
+
+ {subhead}
)}
{hasReactNode(header) && (
diff --git a/packages/vkui/src/components/ContentCard/Readme.md b/packages/vkui/src/components/ContentCard/Readme.md
index 3eb9c9d666..a359d9fa38 100644
--- a/packages/vkui/src/components/ContentCard/Readme.md
+++ b/packages/vkui/src/components/ContentCard/Readme.md
@@ -21,7 +21,7 @@
- `referrerPolicy`,
- `sizes`,
- `useMap`,
-- внутренний `Tappable` получает все остальные свойства (кроме `subtitle`, `header`, `text` и `caption`).
+- внутренний `Tappable` получает все остальные свойства (кроме `subhead`, `header`, `text` и `caption`).
## Цифровая доступность (a11y)
@@ -39,12 +39,12 @@ const Example = () => {
{
onClick={() => {}}
src="https://images.unsplash.com/photo-1603988492906-4fb0fb251cf8?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1600&q=80"
alt="Picture of brown and gray mountains under blue sky during daytime photo"
- subtitle="unsplash"
+ subhead="unsplash"
header="brown and gray mountains under blue sky during daytime photo"
text="Mountain changji"
caption="Photo by Siyuan on Unsplash"
@@ -62,7 +62,7 @@ const Example = () => {