Function: createGridItemWithPlacement()
createGridItemWithPlacement(
catalogItem,x,y):DashboardGridItem
Defined in: dashboardCardCatalog.tsx:48
Creates a new grid item from a catalog entry at the given (x, y). Uses the last available position when (x, y) is passed from the grid state.
Parameters
| Parameter | Type |
|---|---|
catalogItem | CardCatalogItem |
x | number |
y | number |