We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc5a64 commit 2ae35efCopy full SHA for 2ae35ef
1 file changed
apps/website/examples-v8/react-day-picker-v8.tsx
@@ -1,8 +1,8 @@
1
+import v8Style from "!raw-loader!react-day-picker-v8/dist/style.css";
2
import {
3
DayPicker as DayPickerV8,
4
type DayPickerProps,
5
} from "react-day-picker-v8";
-import styles from "react-day-picker-v8/dist/style.module.css";
6
7
export {
8
Button,
@@ -26,5 +26,10 @@ export {
26
27
28
export function DayPicker(props: DayPickerProps) {
29
- return <DayPickerV8 {...props} classNames={styles} />;
+ return (
30
+ <>
31
+ <style>{v8Style.toString()}</style>
32
+ <DayPickerV8 {...props} />
33
+ </>
34
+ );
35
}
0 commit comments