I am trying to access record attribute `odata.type` so I can modify my `EditForm` based on its value. I have created a constant that should do exactly that, but when I print it using `console.log` it displays like this for some reason:

```
ƒ HWType(_ref2) {
var record = _ref2.record;
 return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
__source: {
  fileName: _jsxFileName,
  lineNumber: 31
},

```

My constant looks like this:

```
const HWType = ({ record }) => {
 return <span>{record ? record["odata.type"] : null}</span>;
}

```

Any suggestions how I can access `odata.type` attribute?

Thank you