<ContractData
contract="TheContract"
method="getData"
methodArgs={[accounts[0], "0", { from: accounts[0] }]}
/>
and a contract view function
function getData() public view returns (string, string, uint) {
return (
"x",
"y",
0
);
}
The React component renders the
I can confirm that the function does return the items in Remix.