I encountered an issue when using Layouts in Dashboards. I was able to successfully add a className to rows and cells, but I couldn't add a className to the layout itself.
Here’s an example screenshot of my issue:
https://imgur.com/a/OAB8buU
I understand that setting rowClassName also affects the layout, but I want to specifically add a layoutClassName for additional customization.
Here’s my code:
Code: Select all
layout: {
layoutClassName: "Test-layoutClassName",
rowClassName: "Test-rowClassName",
cellClassName: "Test-cellClassName",
rows: [
{ cells: [{ id: "data-card" }] },
{ cells: [{ id: "data-card3" }] }
]
}