/** * @prettier */ import React from "react" import PropTypes from "prop-types" import ImPropTypes from "react-immutable-proptypes" import { stringify } from "core/utils" import { Map } from "immutable" export default function Example(props) { const { example, showValue, getComponent } = props const Markdown = getComponent("Markdown", true) const HighlightCode = getComponent("HighlightCode", true) if (!example || !Map.isMap(example)) return null return (