I want to pass an object to a react component as well as the object's interface. Here's an example of an interface I want to use:
interface TableProps { ObjectProps: Interface (doesn't work); objects: Array<ObjectProps>;}
Is this at all possible?
I want to pass an object to a react component as well as the object's interface. Here's an example of an interface I want to use:
interface TableProps { ObjectProps: Interface (doesn't work); objects: Array<ObjectProps>;}
Is this at all possible?