import React from 'react';
import Actions from '../Actions';

const ValueElement = ({ data, path }) => (
    <li className="element_item">
        <span className="element_item_prop-name">
            {`${path[path.length - 1]}`}
        </span>
        <span className="element_item_value-separator">:</span>
        <span>{data}</span>

        <Actions path={path} />
    </li>
);

export default ValueElement;

@@ -55,16 +55,102 @@
 ions';%0A%0A
+const printValue = (value) =%3E typeof value === 'string' ? %60%22$%7Bvalue%7D%22%60 : %60$%7Bvalue%7D%60;%0A%0A
 const Va
@@ -404,20 +404,32 @@
  %3Cspan%3E%7B
+printValue(
 data
+)
 %7D%3C/span%3E

fix printed value