Skip to content

Commit

Permalink
[nested-grid] Add top-level props to the wrapper part
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Jan 23, 2025
1 parent 49377f0 commit 86b6091
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/re_com/nested_grid.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@
show-selection-box? resize-columns? resize-rows?
sticky? sticky-left sticky-top
debug-parts? parts
class style attr
src]
:or {column-header-height 25
column-width 55
Expand Down Expand Up @@ -1167,6 +1168,9 @@
(u/part wrapper
{:theme theme
:part ::wrapper
:post-props {:style style
:class class
:attr attr}
:props (merge {:src src
:style (merge {:flex-direction :column}
(when-not sticky?
Expand Down

0 comments on commit 86b6091

Please sign in to comment.