Skip to content

The correct way to include styles #1417

Answered by gpbl
CallOBock asked this question in Support
Discussion options

You must be logged in to vote

@CallOBock your import syntax looks wrong – either you import

import 'react-day-picker/dist/style.css';

or if you use CSS modules,

import classNames from 'react-day-picker/dist/style.module.css';
<DayPicker classNames={{classNames}}} />

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gpbl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants