mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
handle conditional item card expansion
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user