File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ export const RangeDatepicker: React.FC<RangeDatepickerProps> = (props) => {
201201 return (
202202 < Popover
203203 id = { id }
204- placement = "bottom-start"
204+ placement = { propsConfigs ?. popoverCompProps ?. placement ?? "bottom-start" }
205205 variant = "responsive"
206206 isOpen = { isOpen }
207207 onOpen = { onOpen }
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ export const SingleDatepicker: React.FC<SingleDatepickerProps> = ({
172172 return (
173173 < Popover
174174 id = { id }
175- placement = "bottom-start"
175+ placement = { restProps . propsConfigs ?. popoverCompProps ?. placement ?? "bottom-start" }
176176 variant = "responsive"
177177 isOpen = { isOpen }
178178 onOpen = { onOpen }
Original file line number Diff line number Diff line change 33 BoxProps ,
44 DividerProps ,
55 HeadingProps ,
6- InputProps ,
6+ InputProps , PlacementWithLogical ,
77 PopoverBodyProps ,
88 SimpleGridProps ,
99 StackProps ,
@@ -30,6 +30,7 @@ export interface DayOfMonthBtnStyleProps {
3030}
3131
3232export interface PopoverCompProps {
33+ placement ?: PlacementWithLogical ;
3334 popoverContentProps ?: PopoverContentProps ;
3435 popoverBodyProps ?: PopoverBodyProps ;
3536}
You can’t perform that action at this time.
0 commit comments