From e65d48a729c8575f341b639b6c3674aaf21bfa78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Malek?= Date: Wed, 8 Jun 2022 19:01:51 +0200 Subject: [PATCH] fix: export popover component in components index --- src/components/Popover/Popover.tsx | 4 +++- src/components/index.ts | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Popover/Popover.tsx b/src/components/Popover/Popover.tsx index 76e14085b..d46a0e2b9 100644 --- a/src/components/Popover/Popover.tsx +++ b/src/components/Popover/Popover.tsx @@ -94,7 +94,7 @@ interface PopoverProps { onClose?: () => void; } -export const Popover: React.FC = ({ +const Popover: React.FC = ({ children, content = '', placement = 'bottom-start', @@ -240,3 +240,5 @@ export const Popover: React.FC = ({ ); }; + +export { Popover, PopoverProps }; diff --git a/src/components/index.ts b/src/components/index.ts index e8fc8425b..2ba667d65 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -50,3 +50,4 @@ export { RadioButtonProps } from './RadioButton/RadioButtonProps'; export { Offcanvas, OffcanvasProps } from './Offcanvas/Offcanvas'; export { SelectListProps } from './SelectList/types'; export { Row, RowProps, Column, ColumnProps } from './Grid/Grid'; +export { Popover, PopoverProps } from './Popover/Popover';