Skip to content

Commit

Permalink
chore: wrong docstring position
Browse files Browse the repository at this point in the history
  • Loading branch information
RCmerci committed Sep 20, 2024
1 parent 8d81f1a commit a90cd8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/frontend/components/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@

(table-view table option row-selection add-new-object! ready?))]))

(rum/defc view < rum/reactive
(rum/defc view
"Provides a view for data like query results and tagged objects, multiple
layouts such as table and list are supported. Args:
* view-entity: a db Entity
Expand All @@ -1045,8 +1045,8 @@
* add-new-object!: `fn` to create a new object (or row)
* show-add-property?: whether to show `Add property`
* add-property!: `fn` to add a new property (or column)
* on-delete-rows: `fn` to trigger when deleting selected objects
"
* on-delete-rows: `fn` to trigger when deleting selected objects"
< rum/reactive
[view-entity option]
(let [view-entity' (db/sub-block (:db/id view-entity))]
(rum/with-key (view-inner view-entity' option)
Expand Down

0 comments on commit a90cd8a

Please sign in to comment.