Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

309 B
Raw Blame
import PropTypes from 'prop-types';

/*
 * @class Debug
 */
export default function Debug ({ parameters }) {
  if (parameters.showError) {
    throw new Error('this is a test error');
  }
  return '';
}

Debug.propTypes = {
  parameters: PropTypes.oneOfType([PropTypes.object, PropTypes.oneOf(['null'])]),
};