I'm pulling a component from a component library I created myself. I create the component dynamically, and therefore I need to find out all the props that the component has. How can I do that? I write everything in React using TypeScript.
- reactjs : Help with generic in typescript functions