Typescript problem with Window object property
Minor but annoying problem, I’m implementing Scalderone in my chat app and Typescript always gives me this error:
Is this a good way to pass multiple props to a component in React?
Let’s say I have a component which includes a heading and a button next to it, and I need to use the same component in multiple pages: