From a90d6ee67523d7a77c5f6d5833cab0053c556b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Mall=C4=B1?= Date: Mon, 25 Apr 2022 18:31:45 +0300 Subject: [PATCH] Changed comment to conform to the updates. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mehmet Mallı Signed-off-by: Mehmet Mallı Signed-off-by: Mehmet Mallı --- .../src/components/AlertDisplay/AlertDisplay.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/core-components/src/components/AlertDisplay/AlertDisplay.tsx b/packages/core-components/src/components/AlertDisplay/AlertDisplay.tsx index 6be2fcda49..a16d29e038 100644 --- a/packages/core-components/src/components/AlertDisplay/AlertDisplay.tsx +++ b/packages/core-components/src/components/AlertDisplay/AlertDisplay.tsx @@ -28,14 +28,15 @@ import pluralize from 'pluralize'; * @public * @remarks * - * Shown as SnackBar at the top of the page + * Shown as SnackBar at the center top of the page by default. Configurable with props. */ + // TODO: improve on this and promote to a shared component for use by all apps. type Props = { vertical?: 'top' | 'bottom'; horizontal?: 'left' | 'center' | 'right'; -} +}; export function AlertDisplay(props: Props) { const [messages, setMessages] = useState>([]); @@ -64,7 +65,7 @@ export function AlertDisplay(props: Props) { }; return ( - +