From 67a745a1fa41fdaca9ab839c6a2b02eb84e5dbf1 Mon Sep 17 00:00:00 2001 From: Kimo Knowles Date: Thu, 5 Sep 2024 00:55:01 +0200 Subject: [PATCH] [nested-grid] Improve default cell function --- src/re_com/nested_grid.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/re_com/nested_grid.cljs b/src/re_com/nested_grid.cljs index 14c78176..6da3d27b 100644 --- a/src/re_com/nested_grid.cljs +++ b/src/re_com/nested_grid.cljs @@ -447,10 +447,10 @@ (reduce rf "")) " [end]")))) -(defn cell-part [{:keys [column-path row-path]}] - nil) +(defn cell-part [{:keys [value]}] + (str value)) -(defn cell-wrapper-part [{:keys [column-path row-path theme children] :as props}] +(defn cell-wrapper-part [{:keys [column-path row-path theme children]}] (into [:div (-> {:style {:grid-column (path->grid-line-name column-path)