react-day-picker
react-day-picker copied to clipboard
Default styles overwrite button styles used in the footer
The reset styles should only affect calendar buttons.
import Button from "../components/Button"
import { DayPicker } from "react-day-picker";
export function Start() {
return (
<DayPicker
footer={
<Button>...</Button> // <= `.rdp-root button` overwrites this Button's style
}
/>
);
}
You are right @hsnaydd. I think we should use a .rdp-button class name instead. Thanks for the report!