From 8a44724d55445eb7c7be2d84b79115070bb3b051 Mon Sep 17 00:00:00 2001 From: Victoria Zhizhonkova Date: Fri, 28 Mar 2025 11:24:17 +0700 Subject: [PATCH] fix(RootComponent): deprecate internal props --- .../src/components/RootComponent/RootComponent.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/vkui/src/components/RootComponent/RootComponent.tsx b/packages/vkui/src/components/RootComponent/RootComponent.tsx index bc7d3d3997c..26f707bfe79 100644 --- a/packages/vkui/src/components/RootComponent/RootComponent.tsx +++ b/packages/vkui/src/components/RootComponent/RootComponent.tsx @@ -8,7 +8,19 @@ export interface RootComponentProps extends React.AllHTMLAttributes, HasRootRef, HasComponent { + /** Перенести свойство в RootComponentInternalProps, в непубличное API */ + /** + * @deprecated since 7.3.0 + * + * Свойство устарело и будет удалено в `v8`, используйте свойство `className`. + */ baseClassName?: string | false; + /** Перенести свойство в RootComponentInternalProps, в непубличное API */ + /** + * @deprecated since 7.3.0 + * + * Свойство устарело и будет удалено в `v8`, используйте свойство `style`. + */ baseStyle?: React.CSSProperties; }