Closed macsj200 closed 5 years ago
Allow the user to specify a component to render the displayData fetched by <ContractData>
displayData
<ContractData>
// A custom component, currently just stringifies data const Custom = ({ displayData } : any) => ( <div> <h3>custom</h3> {displayData.toString()} </div> ) <ContractData ... customComponent={Custom} />
Closing since #81 was merged.
Allow the user to specify a component to render the
displayData
fetched by<ContractData>