Skip to content

Commit

Permalink
docs: updated styling.mdx (#2252)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnysedh3lllo committed Jul 7, 2024
1 parent 0ca91ff commit d0ab3b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ When using CSS modules, you can import `style.module.css`. Pass the class names

```tsx title="./DatePicker.jsx"
import { DayPicker } from "react-day-picker";
import { default as defaultStyles } from "react-day-picker/style.module.css";
import { default as defaultStyles } from "react-day-picker/dist/style.module.css";

export function DatePicker() {
return <DayPicker classNames={defaultStyles} />;
Expand Down

0 comments on commit d0ab3b9

Please sign in to comment.