const Appointment = ({ children, style, ...restProps }) => (
<Appointments.Appointment
{...restProps}
style={{
...style,
backgroundColor: "rgb(61 191 164 / 47%)",
borderLeft: "5px solid #00B4FB",
color: "black",
}}
>
<h6 className="black">{children}</h6>
<span></span>
</Appointments.Appointment>
我想把h6的颜色改成黑色。我已尝试通过内联样式进行定位,但它不起作用。提前致谢