+ {beforeTitle && {beforeTitle}
}
{children}
+ {afterTitle && {afterTitle}
}
{hasReactNode(indicator) && (
{indicator}
)}
-
{hasReactNode(subtitle) && (
-
+ {beforeSubtitle && (
+ {beforeSubtitle}
)}
- Component={subtitleComponent}
- >
- {subtitle}
-
+
+ {subtitle}
+
+ {afterSubtitle && (
+
{afterSubtitle}
+ )}
+
)}
diff --git a/packages/vkui/src/components/Header/Readme.md b/packages/vkui/src/components/Header/Readme.md
index 4ae382a42b..461b2c481f 100644
--- a/packages/vkui/src/components/Header/Readme.md
+++ b/packages/vkui/src/components/Header/Readme.md
@@ -120,6 +120,55 @@ const Example = () => {
Большой заголовок
+