handle conditional item card expansion

This commit is contained in:
jeffvli
2025-11-19 23:13:40 -08:00
parent c25c339feb
commit 82e1ce4d7a
5 changed files with 19 additions and 2 deletions
@@ -261,7 +261,7 @@ export interface ItemGridListProps {
export const ItemGridList = ({
data,
enableDrag = true,
enableExpansion = true,
enableExpansion = false,
enableSelection = true,
gap = 'sm',
getRowId,
@@ -690,6 +690,7 @@ const ListComponent = memo((props: ListChildComponentProps<GridItemProps>) => {
controls={controls}
data={data[i]}
enableDrag={enableDrag}
enableExpansion={props.data.enableExpansion}
internalState={props.data.internalState}
itemType={itemType}
rows={rows}