react-day-picker icon indicating copy to clipboard operation
react-day-picker copied to clipboard

Default styles overwrite button styles used in the footer

Open hsnaydd opened this issue 6 months ago • 1 comments

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
      }
     />
  );
}

hsnaydd avatar Aug 16 '24 11:08 hsnaydd