Tabs: add suffix prop for the tab name (#43869)

* Tabs: add suffix prop for the tab name

* Replace FC with JSX.Element
This commit is contained in:
Agnès Toulet
2022-01-12 15:37:16 +01:00
committed by GitHub
parent 105bf8fd94
commit 5eaaadd59d
4 changed files with 9 additions and 1 deletions

View File

@@ -10,5 +10,6 @@ export interface ShareModalTabProps {
export interface ShareModalTabModel {
label: string;
value: string;
labelSuffix?: () => JSX.Element;
component: React.ComponentType<ShareModalTabProps>;
}