Skip to content

Commit

Permalink
Update packages/react-components/react-dialog/library/src/components/…
Browse files Browse the repository at this point in the history
…Dialog/Dialog.types.ts

Co-authored-by: Ben Howell <[email protected]>
  • Loading branch information
emmayjiang and behowell authored Dec 13, 2024
1 parent 1f9ced0 commit 8173f4a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ export type DialogProps = ComponentProps<Partial<DialogSlots>> & {
// 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;
/**
Expand Down

0 comments on commit 8173f4a

Please sign in to comment.