From b2b1e0661d6bb5a50d2ae87aa77b3009a67a54c5 Mon Sep 17 00:00:00 2001 From: shaharzil Date: Mon, 18 Mar 2024 14:58:49 +0200 Subject: [PATCH] docs: deprecate hide close button (#2019) --- packages/core/src/components/Modal/Modal.tsx | 2 +- packages/core/src/components/Modal/ModalHeader/ModalHeader.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/components/Modal/Modal.tsx b/packages/core/src/components/Modal/Modal.tsx index 55c78a0c71..fbfdf52b3e 100644 --- a/packages/core/src/components/Modal/Modal.tsx +++ b/packages/core/src/components/Modal/Modal.tsx @@ -49,7 +49,7 @@ export interface ModalProps { */ width?: typeof ModalWidth | string; /** - * Hide the modal close button + * @deprecated */ hideCloseButton?: boolean; /** diff --git a/packages/core/src/components/Modal/ModalHeader/ModalHeader.tsx b/packages/core/src/components/Modal/ModalHeader/ModalHeader.tsx index 867be70adc..bc5d152dea 100644 --- a/packages/core/src/components/Modal/ModalHeader/ModalHeader.tsx +++ b/packages/core/src/components/Modal/ModalHeader/ModalHeader.tsx @@ -63,7 +63,7 @@ export interface ModalHeaderProps extends VibeComponentProps { */ closeButtonAriaLabel?: string; /** - * Should close button be hidden or not + * @deprecated */ hideCloseButton?: boolean; }