We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I like this plugin but i can't import to my react project. i try import but always error shortcutButtonsPlugin is not defined
shortcutButtonsPlugin is not defined
import 'shortcut-buttons-flatpickr'; import { ShortcutButtonsPlugin } from 'shortcut-buttons-flatpickr'; import ShortcutButtonsPlugin from 'shortcut-buttons-flatpickr';
import 'shortcut-buttons-flatpickr';
import { ShortcutButtonsPlugin } from 'shortcut-buttons-flatpickr';
import ShortcutButtonsPlugin from 'shortcut-buttons-flatpickr';
The text was updated successfully, but these errors were encountered:
@kenzouno1 can you try the following?
import { ShortcutButtonsPlugin } from 'shortcut-buttons-flatpickr/dist/types/index.d'; // ... flatpickr('#calendar', { // flatpickr options plugins: [ ShortcutButtonsPlugin({ // shortcut buttons plugin options }), ], });
Let me know if it works, or in case it doesn't, which error messages you're getting.
Sorry, something went wrong.
No branches or pull requests
I like this plugin but i can't import to my react project. i try import but always error
shortcutButtonsPlugin is not defined
import 'shortcut-buttons-flatpickr';
import { ShortcutButtonsPlugin } from 'shortcut-buttons-flatpickr';
import ShortcutButtonsPlugin from 'shortcut-buttons-flatpickr';
The text was updated successfully, but these errors were encountered: