Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React grid layout #15

Open
awb99 opened this issue Oct 13, 2023 · 1 comment
Open

React grid layout #15

awb99 opened this issue Oct 13, 2023 · 1 comment

Comments

@awb99
Copy link
Contributor

awb99 commented Oct 13, 2023

grid.grid
(:require ["react-grid-layout" :refer [Responsive WidthProvider]]))

grid.grid
(:require ["react-grid-layout" :refer [Responsive WidthProvider]]))

(defn grid [content]

(prn ">>>> re-rendering grid <<<<")
(into [:> (WidthProvider Responsive)
{:id "test-grid"
:className "layout"
:cols {:lg 12, :md 10, :sm 6, :xs 4, :xxs 2}}]
content))

@awb99
Copy link
Contributor Author

awb99 commented Oct 14, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant