diff --git a/joi/src/core/Select/index.tsx b/joi/src/core/Select/index.tsx index ae5111fc1..d8935bd83 100644 --- a/joi/src/core/Select/index.tsx +++ b/joi/src/core/Select/index.tsx @@ -11,10 +11,13 @@ type Props = { open?: boolean block?: boolean value?: string + side?: 'top' | 'right' | 'bottom' | 'left' + position?: 'item-aligned' | 'popper' placeholder?: string disabled?: boolean containerPortal?: HTMLDivElement | undefined | null className?: string + sideOffset?: number onValueChange?: (value: string) => void onOpenChange?: (open: boolean) => void } @@ -26,7 +29,10 @@ const Select = ({ disabled, containerPortal, block, + sideOffset, + position, className, + side, open, onValueChange, onOpenChange, @@ -52,7 +58,12 @@ const Select = ({ - + {options && options.map((item, i) => { @@ -79,7 +90,6 @@ const Select = ({ ) })} - diff --git a/web/screens/Settings/Appearance/index.tsx b/web/screens/Settings/Appearance/index.tsx index 873ad9e13..409b7c727 100644 --- a/web/screens/Settings/Appearance/index.tsx +++ b/web/screens/Settings/Appearance/index.tsx @@ -84,6 +84,8 @@ export default function AppearanceOptions() {