Closed honestbonsai closed 5 years ago
What exactly does translateType
do? I don't see any documentation for it.
With the custom rendered components for ContractForm
, need to figure out a better way to send down the types.
See the current state: https://github.com/trufflesuite/drizzle-react-components/blob/develop/test-app/app/src/MyComponent.js#L14
Also see the default render version https://github.com/trufflesuite/drizzle-react-components/blob/develop/src/new-context-api/ContractForm.js#L61
I have an idea of what to do for this.
I'm not a huge fan of the translateType interface in
ContractForm
's custom render, would be good to just send it down withthis.inputs
somehow.Though I don't want to mutate
this.inputs