I am working in SPFx web part so everything is typescript
I have a Grid that uses a child component for detail
<Grid data={items} detail={ DetailDocumentsComponent }
So the props on the component is GridDetailRowProps
export function DetailDocumentsComponent(props: GridDetailRowProps) {
I also want to past the context of where the grid is, to the child component. how can I do it?
Is there an option to 2 parameters?
can I overload the GridDetailRowProps type to have context:any ? how would I do it?
Thank you