Closed andrisole92 closed 5 years ago
same, just a blank white canvas. we both must have not installed it correctly but i havent a clue what i did wrong.
This should render your Particles component.
const styles = {
root: {
fontFamily: "sans-serif",
textAlign: "center",
height: "100%",
background: "#222",
display: "flex",
justifyContent: "center",
alignItems: "center"
}
};
<div style={styles.root}>
<Particles />
</div>
I had the same problem until I stumbled upon this functioning example on CodeSandbox.
I just changed the background color with CSS. It solved the problem.
same issue, and background was an issue
Change the background colour.
четверг, 22 августа 2019 г. пользователь Eugene Matvejev < notifications@github.com> написал:
same issue
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Wufe/react-particles-js/issues/77?email_source=notifications&email_token=AECLR4NTOY2MWZN3ESOQWLLQF2RF3A5CNFSM4GXB2SFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45KSJI#issuecomment-523938085, or mute the thread https://github.com/notifications/unsubscribe-auth/AECLR4J4FL3XLQJQRZPO6WLQF2RF3ANCNFSM4GXB2SFA .
-- Best regards, Andrejs.
solved my problem, thank you so much!
Change the background colour. четверг, 22 августа 2019 г. пользователь Eugene Matvejev < notifications@github.com> написал: … same issue — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#77?email_source=notifications&email_token=AECLR4NTOY2MWZN3ESOQWLLQF2RF3A5CNFSM4GXB2SFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45KSJI#issuecomment-523938085>, or mute the thread https://github.com/notifications/unsubscribe-auth/AECLR4J4FL3XLQJQRZPO6WLQF2RF3ANCNFSM4GXB2SFA . -- Best regards, Andrejs.
Thanks. I feel dumb already.
Hey, I am just getting an empty Canvas. My code is: