Skip to content

Commit

Permalink
update onSelect JSDoc description
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Oct 6, 2023
1 parent 8367af6 commit e24d31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/tabs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e24d31a

Please sign in to comment.