Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation and configuration in next.js #31

Open
AntoninSlejska opened this issue Oct 17, 2018 · 1 comment
Open

Installation and configuration in next.js #31

AntoninSlejska opened this issue Oct 17, 2018 · 1 comment

Comments

@AntoninSlejska
Copy link

I develop an app in next.js. I installed the library and imported it:

import AddToCalendar from 'react-add-to-calendar'

The calendar looked like:

add-to-cal-1

So I installed and configured next-css und imported also the CSS:

import 'react-add-to-calendar/dist/react-add-to-calendar.min.css'

Now the button looks much better, but the styles are a bit strange:

add-to-cal-2

@smandavia
Copy link

Was there any other change you had to do to make it work in a Next.JS project? The button renders for me, but the functionality is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants