From 8173f4a82e0236c21a183a6499ae5ec6c176e264 Mon Sep 17 00:00:00 2001 From: Emma Jiang <31319479+emmayjiang@users.noreply.github.com> Date: Fri, 13 Dec 2024 15:13:48 -0800 Subject: [PATCH] Update packages/react-components/react-dialog/library/src/components/Dialog/Dialog.types.ts Co-authored-by: Ben Howell <48106640+behowell@users.noreply.github.com> --- .../library/src/components/Dialog/Dialog.types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-components/react-dialog/library/src/components/Dialog/Dialog.types.ts b/packages/react-components/react-dialog/library/src/components/Dialog/Dialog.types.ts index 9923901b7ff7c..2be000bfa4184 100644 --- a/packages/react-components/react-dialog/library/src/components/Dialog/Dialog.types.ts +++ b/packages/react-components/react-dialog/library/src/components/Dialog/Dialog.types.ts @@ -96,8 +96,8 @@ export type DialogProps = ComponentProps> & { // eslint-disable-next-line @nx/workspace-consistent-callback-type -- can't change type of existing callback onOpenChange?: DialogOpenChangeEventHandler; /** - * Can contain two children including DialogTrigger and DialogSurface. - * Alternatively can only contain DialogSurface if using trigger outside dialog, or controlling state. + * Can contain two children including `DialogTrigger` and `DialogSurface`. + * Alternatively can only contain `DialogSurface` if using trigger outside dialog, or controlling state. */ children: [JSX.Element, JSX.Element] | JSX.Element; /**