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

Unable to display particles #71

Open
rushkii opened this issue Aug 26, 2024 · 0 comments
Open

Unable to display particles #71

rushkii opened this issue Aug 26, 2024 · 0 comments

Comments

@rushkii
Copy link

rushkii commented Aug 26, 2024

I'm using Side Confetti presets which is provided in https://particles.js.org/ itself, but it's unable to display the particles, why? the options gave me the type error :/

err:

Type '{ autoPlay: boolean; background: { color: { value: string; }; image: string; position: string; repeat: string; size: string; opacity: number; }; backgroundMask: { composite: string; cover: { color: { value: string; }; opacity: number; }; enable: boolean; }; ... 18 more ...; motion: { ...; }; }' is not assignable to type 'RecursivePartial<IOptions>'.
  The types of 'backgroundMask.composite' are incompatible between these types.
    Type 'string' is not assignable to type 'GlobalCompositeOperation | undefined'.ts(2322)

particles.json

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

1 participant