From 3c5747d751b6eb50a467b437f8ce7d4a03665c34 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 29 Nov 2024 10:52:48 +0100 Subject: [PATCH] Changing the default of isItemClickable --- packages/dataviews/src/components/dataviews/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dataviews/src/components/dataviews/index.tsx b/packages/dataviews/src/components/dataviews/index.tsx index aefb20a926963..99d9b6d684b08 100644 --- a/packages/dataviews/src/components/dataviews/index.tsx +++ b/packages/dataviews/src/components/dataviews/index.tsx @@ -52,7 +52,7 @@ type DataViewsProps< Item > = { : { getItemId: ( item: Item ) => string } ); const defaultGetItemId = ( item: ItemWithId ) => item.id; -const defaultIsItemClickable = () => false; +const defaultIsItemClickable = () => true; const EMPTY_ARRAY: any[] = []; export default function DataViews< Item >( {