From d021bbb0da2910e438e381b24abe7037bbf943ad Mon Sep 17 00:00:00 2001 From: Victoria Zhizhonkova Date: Sun, 24 Sep 2023 11:23:56 +0700 Subject: [PATCH] fix(PanelHeaderButton): fix preset links --- .../vkui/src/components/PanelHeaderBack/PanelHeaderBack.tsx | 2 +- .../vkui/src/components/PanelHeaderClose/PanelHeaderClose.tsx | 2 +- .../vkui/src/components/PanelHeaderEdit/PanelHeaderEdit.tsx | 2 +- .../vkui/src/components/PanelHeaderSubmit/PanelHeaderSubmit.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vkui/src/components/PanelHeaderBack/PanelHeaderBack.tsx b/packages/vkui/src/components/PanelHeaderBack/PanelHeaderBack.tsx index 4be63fe74d..1f1fa87106 100644 --- a/packages/vkui/src/components/PanelHeaderBack/PanelHeaderBack.tsx +++ b/packages/vkui/src/components/PanelHeaderBack/PanelHeaderBack.tsx @@ -17,7 +17,7 @@ export type PanelHeaderBackProps = PanelHeaderButtonProps & { }; /** - * @see https://vkcom.github.io/VKUI/#/PanelHeaderBack + * @see https://vkcom.github.io/VKUI/#/PanelHeaderButton */ export const PanelHeaderBack = ({ label, diff --git a/packages/vkui/src/components/PanelHeaderClose/PanelHeaderClose.tsx b/packages/vkui/src/components/PanelHeaderClose/PanelHeaderClose.tsx index 0e06097d48..0617a7b97b 100644 --- a/packages/vkui/src/components/PanelHeaderClose/PanelHeaderClose.tsx +++ b/packages/vkui/src/components/PanelHeaderClose/PanelHeaderClose.tsx @@ -6,7 +6,7 @@ import { getTitleFromChildren } from '../../lib/utils'; import { PanelHeaderButton, PanelHeaderButtonProps } from '../PanelHeaderButton/PanelHeaderButton'; /** - * @see https://vkcom.github.io/VKUI/#/PanelHeaderClose + * @see https://vkcom.github.io/VKUI/#/PanelHeaderButton */ export const PanelHeaderClose = ({ children = 'Отмена', ...restProps }: PanelHeaderButtonProps) => { const platform = usePlatform(); diff --git a/packages/vkui/src/components/PanelHeaderEdit/PanelHeaderEdit.tsx b/packages/vkui/src/components/PanelHeaderEdit/PanelHeaderEdit.tsx index 193410e6ee..85d333fc7d 100644 --- a/packages/vkui/src/components/PanelHeaderEdit/PanelHeaderEdit.tsx +++ b/packages/vkui/src/components/PanelHeaderEdit/PanelHeaderEdit.tsx @@ -20,7 +20,7 @@ export interface PanelHeaderEditProps extends PanelHeaderButtonProps { } /** - * @see https://vkcom.github.io/VKUI/#/PanelHeaderEdit + * @see https://vkcom.github.io/VKUI/#/PanelHeaderButton */ export const PanelHeaderEdit = ({ isActive = false, diff --git a/packages/vkui/src/components/PanelHeaderSubmit/PanelHeaderSubmit.tsx b/packages/vkui/src/components/PanelHeaderSubmit/PanelHeaderSubmit.tsx index 781bf2bb55..d92875ff0e 100644 --- a/packages/vkui/src/components/PanelHeaderSubmit/PanelHeaderSubmit.tsx +++ b/packages/vkui/src/components/PanelHeaderSubmit/PanelHeaderSubmit.tsx @@ -6,7 +6,7 @@ import { getTitleFromChildren } from '../../lib/utils'; import { PanelHeaderButton, PanelHeaderButtonProps } from '../PanelHeaderButton/PanelHeaderButton'; /** - * @see https://vkcom.github.io/VKUI/#/PanelHeaderSubmit + * @see https://vkcom.github.io/VKUI/#/PanelHeaderButton */ export const PanelHeaderSubmit = ({ children = 'Готово',