From 44a632175467616241cf141ea94a5be0acff3a52 Mon Sep 17 00:00:00 2001 From: Alexey Chernikov Date: Thu, 21 Sep 2023 17:50:13 +0300 Subject: [PATCH] feat: add placement prop for DropDown --- packages/desktop/src/main/ts/drop-down/DropDown.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/desktop/src/main/ts/drop-down/DropDown.tsx b/packages/desktop/src/main/ts/drop-down/DropDown.tsx index bf63e3298..85bd7d988 100644 --- a/packages/desktop/src/main/ts/drop-down/DropDown.tsx +++ b/packages/desktop/src/main/ts/drop-down/DropDown.tsx @@ -18,6 +18,7 @@ export interface DropDownProps { maxWidth?: Value rootClose?: boolean stub?: boolean + placement?: OverlayProps['placement'] target: OverlayProps['target'] container: OverlayProps['container'] children: ReactElement @@ -56,6 +57,7 @@ export const DropDown: FC = ({ maxWidth, rootClose = true, stub = false, + placement = 'bottom', target, container, onHide, @@ -67,7 +69,7 @@ export const DropDown: FC = ({ ) : (