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

import issue : export default not found #25

Closed
oguilleux opened this issue Apr 5, 2022 · 1 comment
Closed

import issue : export default not found #25

oguilleux opened this issue Apr 5, 2022 · 1 comment

Comments

@oguilleux
Copy link

Hi,

When trying to import the library like so :

import Selectra from 'selectra';

I'm having this message :

export 'default' (imported as 'Selectra') was not found in 'selectra' (possible exports: createSelectra)

Can you add the class as default export as well as createSelectra please ?

Thanks

@cirykpopeye
Copy link
Owner

cirykpopeye commented Aug 19, 2023

Dist file seperated from the actual index.js file, the only thing you need is import { createSelectra } from 'selectra'

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