File tree Expand file tree Collapse file tree 1 file changed +38
-38
lines changed Expand file tree Collapse file tree 1 file changed +38
-38
lines changed Original file line number Diff line number Diff line change 189189 :alert-class alert-class
190190 :alert-style alert-style}}]
191191 (part ::al/wrapper
192- {:impl box
192+ {:impl box
193+ :theme theme
194+ :post-props (debug/instrument {} props)
195+ :props
196+ {:re-com re-com
197+ :child
198+ (part ::al/body
199+ {:impl border
193200 :theme theme
194- :post-props (debug/instrument {} props)
201+ :post-props (-> props
202+ (select-keys [:class :style :attr ])
203+ (assoc :border border-style
204+ :padding padding))
195205 :props
196206 {:re-com re-com
197207 :child
198- (part ::al/body
199- {:impl border
200- :theme theme
201- :post-props (-> props
202- (select-keys [:class :style :attr ])
203- (assoc :border border-style
204- :padding padding))
205- :props
206- {:re-com re-com
207- :child
208- (part ::al/scroller
209- {:impl scroller
210- :theme theme
211- :post-props {:style (when max-height {:max-height max-height})}
212- :props {:re-com re-com
208+ (part ::al/scroller
209+ {:impl scroller
210+ :theme theme
211+ :post-props {:style (when max-height {:max-height max-height})}
212+ :props {:re-com re-com
213213 :child
214214 (part ::al/v-box
215- {:impl v-box
216- :theme theme
217- :props
218- {:re-com re-com
219- :children
220- (for [alert alerts]
221- (let [{:keys [id alert-type heading body padding closeable?]} alert]
222- (part ::al/alert-box
223- {:impl alert-box
224- :theme theme
225- :key id
226- :post-props {:class alert-class
227- :style alert-style}
228- :props
229- {:id id
230- :alert-type alert-type
231- :heading heading
232- :body body
233- :padding padding
234- :closeable? closeable?
235- :on-close on-close}})))}})}})}})}}))))
215+ {:impl v-box
216+ :theme theme
217+ :props
218+ {:re-com re-com
219+ :children
220+ (for [alert alerts]
221+ (let [{:keys [id alert-type heading body padding closeable?]} alert]
222+ (part ::al/alert-box
223+ {:impl alert-box
224+ :theme theme
225+ :key id
226+ :post-props {:class alert-class
227+ :style alert-style}
228+ :props
229+ {:id id
230+ :alert-type alert-type
231+ :heading heading
232+ :body body
233+ :padding padding
234+ :closeable? closeable?
235+ :on-close on-close}})))}})}})}})}}))))
You can’t perform that action at this time.
0 commit comments