philips-software/cogito

View on GitHub
workspaces/demo-app/src/pages/contracts/Contracts.js

Summary

Maintainability
B
4 hrs
Test Coverage
A
100%
import React from 'react'
import { Demo } from 'components/ui/demo'
import { CogitoContract } from 'components/cogito-contract'

class Contracts extends React.Component {
  state = {}

  render () {
    const { match, location, history } = this.props
    return (
      <Demo routeProps={{ match, location, history }} subtitle='Executing Contracts' documentation='documentation/contracts.md'>
        <CogitoContract {...this.props} />
      </Demo>
    )
  }
}

export { Contracts }