File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -748,23 +748,68 @@ export interface CustomRoleAndMeta {
748
748
}
749
749
750
750
interface CommonTabArgsType {
751
+ /**
752
+ * Name for the tab.
753
+ *
754
+ * Note: Used for the title
755
+ */
751
756
name : string
752
757
kind ?: string
758
+ /**
759
+ * URL for the tab
760
+ */
753
761
url : string
762
+ /**
763
+ * If true, the tab is selected
764
+ */
754
765
isSelected : boolean
766
+ /**
767
+ * Title for the tab
768
+ */
755
769
title ?: string
756
770
isDeleted ?: boolean
771
+ /**
772
+ * Type for the tab
773
+ *
774
+ * Note: Fixed tabs are always places before dynamic tabs
775
+ */
757
776
type : 'fixed' | 'dynamic'
777
+ /**
778
+ * Path of the icon for the tab
779
+ *
780
+ * @default ''
781
+ */
758
782
iconPath ?: string
783
+ /**
784
+ * Dynamic title for the tab
785
+ *
786
+ * @default ''
787
+ */
759
788
dynamicTitle ?: string
789
+ /**
790
+ * Whether to show the tab name when selected
791
+ *
792
+ * @default false
793
+ */
760
794
showNameOnSelect ?: boolean
761
795
/**
796
+ * Would remove the title/name from tab heading, but that does not mean name is not required, since it is used in other calculations
762
797
* @default false
763
798
*/
764
799
hideName ?: boolean
800
+ /**
801
+ * Indicates if showNameOnSelect tabs have been selected once
802
+ *
803
+ * @default false
804
+ */
765
805
isAlive ?: boolean
766
806
lastSyncMoment ?: Dayjs
767
807
componentKey ?: string
808
+ /**
809
+ * Custom tippy config for the tab
810
+ *
811
+ * This overrides the tippy being computed from tab title
812
+ */
768
813
tippyConfig ?: {
769
814
title : string
770
815
descriptions : {
You can’t perform that action at this time.
0 commit comments