Added input validation

the alert level widget now has visual and logical input validation
This commit is contained in:
2025-08-11 12:59:38 -07:00
parent 5df556896f
commit 8116745921
3 changed files with 30 additions and 13 deletions
@@ -30,7 +30,7 @@ export default function MyDashboard({layout, onLayoutChange, isEditable, isDelet
useCSSTransforms={false} // remove the sliding animation of the widgets
className="layout"
layout={layout}
cols={16} // Total columns in grid
cols={15} // Total columns in grid
rowHeight={30} // Height of a single row in px
isBounded={true} // Total width of the grid
margin={[15, 5]} // [horizontal, vertical] gap