From db1a133cf95bbce5c1d5aee060771697d09ca060 Mon Sep 17 00:00:00 2001 From: Antonette Caldwell <134739862+nebula-aac@users.noreply.github.com> Date: Thu, 5 Oct 2023 21:05:02 -0500 Subject: [PATCH] feat(components): added ClickAwayListener (#124) fix #123 --- .../src/base/ClickAwayListener/ClickAwayListener.tsx | 7 +++++++ packages/components/src/base/ClickAwayListener/index.tsx | 1 + 2 files changed, 8 insertions(+) create mode 100644 packages/components/src/base/ClickAwayListener/ClickAwayListener.tsx create mode 100644 packages/components/src/base/ClickAwayListener/index.tsx diff --git a/packages/components/src/base/ClickAwayListener/ClickAwayListener.tsx b/packages/components/src/base/ClickAwayListener/ClickAwayListener.tsx new file mode 100644 index 000000000..e88de6e45 --- /dev/null +++ b/packages/components/src/base/ClickAwayListener/ClickAwayListener.tsx @@ -0,0 +1,7 @@ +import { + ClickAwayListener as MuiClickAwayListener, + type ClickAwayListenerProps +} from '@mui/material'; +export function ClickAwayListener(props: ClickAwayListenerProps) { + return ; +} diff --git a/packages/components/src/base/ClickAwayListener/index.tsx b/packages/components/src/base/ClickAwayListener/index.tsx new file mode 100644 index 000000000..e3e3ec9f6 --- /dev/null +++ b/packages/components/src/base/ClickAwayListener/index.tsx @@ -0,0 +1 @@ +export { ClickAwayListener } from './ClickAwayListener';