From e24d31ac91b8f854dc9c6a05faf7b58475a99621 Mon Sep 17 00:00:00 2001 From: chad1008 <13856531+chad1008@users.noreply.github.com> Date: Fri, 6 Oct 2023 11:54:05 -0400 Subject: [PATCH] update `onSelect` JSDoc description --- packages/components/src/tabs/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/tabs/types.ts b/packages/components/src/tabs/types.ts index 46ecd6eac00c4..88e25eb5a3863 100644 --- a/packages/components/src/tabs/types.ts +++ b/packages/components/src/tabs/types.ts @@ -51,7 +51,7 @@ export type TabsProps = { initialTabId?: string; /** * The function called when a tab has been selected. - * It is passed the `instanceId`-prefixed `tabId` as an argument. + * It is passed the id of the newly selected tab as an argument. */ onSelect?: ( selectedId: string | null | undefined ) => void;