                           :overflow-x "auto"
                           :overflow-y "auto"}}
             (map-indexed (fn [id x]
-                           ^{:key id} [Root x id state-atom]) data)])]))))+                           ^{:key id} [Root x id state-atom]) data)])]))))

      expanded-paths)))

(defn copy-to-clipboard [data]
  (let [pretty (with-out-str (cljs.pprint/pprint data))
        textArea (.createElement js/document "textarea")]
    (doto textArea
      ;; Put in top left corner of screen

(ns datafrisk.view
  (:require [cljs.pprint :refer [pprint]]
            [reagent.core :as r]
            [datafrisk.util :as u]))

(declare DataFrisk)
