Skip to content

Commit

Permalink
feat: add type UseDialogHookProps
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-anderson committed Mar 13, 2024
1 parent a5e7435 commit 43ea6a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Dialog/useDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ export const useDialog = (initIsVisible = false) => {
closeDialog,
};
};

export type UseDialogHookProps = ReturnType<typeof useDialog>;

0 comments on commit 43ea6a9

Please sign in to comment.