File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
src/libs/ui/lib/components/form/form-groups/form-input/input-date-picker Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 4747 select {
4848 border : none ;
4949 background-color : transparent ;
50+ margin : auto ;
5051
5152 option :hover {
5253 background-color : $turq-160 ;
Original file line number Diff line number Diff line change @@ -60,9 +60,13 @@ const InputDatePicker: FC<InputDatePickerProps> = (props: InputDatePickerProps)
6060 } : any ) : JSX . Element {
6161 return (
6262 < div className = { styles . headerWrap } >
63- < button onClick = { decreaseMonth } disabled = { prevMonthButtonDisabled } type = 'button' >
64- < IconOutline . ArrowCircleLeftIcon />
65- </ button >
63+ {
64+ props . showMonthPicker !== false && (
65+ < button onClick = { decreaseMonth } disabled = { prevMonthButtonDisabled } type = 'button' >
66+ < IconOutline . ArrowCircleLeftIcon />
67+ </ button >
68+ )
69+ }
6670
6771 {
6872 props . showMonthPicker !== false && (
@@ -90,9 +94,13 @@ const InputDatePicker: FC<InputDatePickerProps> = (props: InputDatePickerProps)
9094 ) ) }
9195 </ select >
9296
93- < button onClick = { increaseMonth } disabled = { nextMonthButtonDisabled } type = 'button' >
94- < IconOutline . ArrowCircleRightIcon />
95- </ button >
97+ {
98+ props . showMonthPicker !== false && (
99+ < button onClick = { increaseMonth } disabled = { nextMonthButtonDisabled } type = 'button' >
100+ < IconOutline . ArrowCircleRightIcon />
101+ </ button >
102+ )
103+ }
96104 </ div >
97105 )
98106 }
You can’t perform that action at this time.
0 commit comments