From cb40ce29aac85f5ec2d0ba93b0c76323d11374fb Mon Sep 17 00:00:00 2001 From: Sangeetha Babu <58620134+sangeethababu9223@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:18:41 +0530 Subject: [PATCH] feat(Datagrid): update type for slug and aiLabel --- packages/ibm-products/src/components/Datagrid/types/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ibm-products/src/components/Datagrid/types/index.ts b/packages/ibm-products/src/components/Datagrid/types/index.ts index de4b999352..cc87bdd7fe 100644 --- a/packages/ibm-products/src/components/Datagrid/types/index.ts +++ b/packages/ibm-products/src/components/Datagrid/types/index.ts @@ -194,8 +194,8 @@ export interface DataGridHeader UseSortByColumnProps { className(className: any, arg1: { [x: string]: any }): unknown; isAction?: boolean; - slug?: any; // To be removed once the support for slug is not available - aiLabel?: any; + slug?: ReactNode; // To be removed once the support for slug is not available + aiLabel?: ReactNode; } export interface DataGridHeaderGroup