By the documentation from Ant Design,
popupStyle | The style of panel | CSSProperties
you could use popupStyle
as a prop and just use normal CSS to style timepicker.
or
you could use popupClassName
, popupClassName={classes.timepicker}
timepicker: {
"& .ant-picker-footer": {
color: "#your color",
},
}
you could find the correct className
in dev tools.
Edit:
className
. className="timepicker-background"
and in CSS we have,
.timepicker-background {
background-color: rgb(26, 25, 29);
border-color: rgb(247, 30, 30);
}
popupStyles
popupStyle={{ fontSize: 30 }}