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 tried the following implementation and I just get a black square with no fireworks showing up whatsoever. Any idea why ?
import { FireworksOptions } from "fireworks-js/dist/fireworks"; import { Fireworks } from "fireworks-js/dist/react"; import React, { CSSProperties } from "react"; const UserScoreScreen = ({ }: { }) => { const options: FireworksOptions = { speed: 3, }; const FireworksStyle: CSSProperties = { width: "400px", height: "400px", background: "#000", position: "absolute", }; return ( <> <div className="relative flex flex-col items-center h-full p-4 border-2 border-white border-opacity-30 bg-glassomorphism3 rounded-10"> <div className="z-40"> <Fireworks options={options} style={FireworksStyle} /> </div> </div> </> ); }; export default UserScoreScreen;
The text was updated successfully, but these errors were encountered:
@ivonigC Thanks for issue! This is currently a bug of the React component. Please use fireworks-js@1.2.2 Will next update this fixed 😄
fireworks-js@1.2.2
Sorry, something went wrong.
206e608
@ivonigC Update tofireworks-js@latest and check out the new example
fireworks-js@latest
No branches or pull requests
I tried the following implementation and I just get a black square with no fireworks showing up whatsoever. Any idea why ?
The text was updated successfully, but these errors were encountered: