import React from 'react';
import { CodeDisplay } from '@looker/code-editor';
import { CollapserCard } from '@looker/run-it';
export var DocSchema = _ref => {
  var {
    object
  } = _ref;
  if (!object) return React.createElement(React.Fragment, null);
  var json = JSON.stringify(object, null, 2);
  return React.createElement(CollapserCard, {
    heading: "Original Schema",
    defaultOpen: false,
    id: "original schema"
  }, React.createElement(React.Fragment, null, React.createElement(CodeDisplay, {
    language: "json",
    code: json
  })));
};
//# sourceMappingURL=DocSchema.js.map