Drizzle-react also provides a set of reusable components for common UI elements. You can get them using npm:
npm install --save drizzle-react-components
This includes the following components:
- Loading container: This component wraps your entire app and will show a loading screen until Drizzle is initialized. You can configure the loadingComp and errorComp properties to do this.
- Contract data: It contains contract, method, methodArgs, hideIndicator, toUtf8, and toAscii.
- Contract form: It includes contract, method, and labels.