File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
apps/docs/src/stories/Components
packages/core/src/components/Tabs Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 3737 <keep-alive-test />
3838 </pf-tab >
3939 <pf-tab >
40- <template #title >System</template >
40+ <template #title >
41+ <pf-tab-title-text >System</pf-tab-title-text >
42+ </template >
4143 System
4244 <keep-alive-test />
4345 </pf-tab >
Original file line number Diff line number Diff line change 2323 "eslint-plugin-node" : " ^11.1.0" ,
2424 "eslint-plugin-promise" : " ^6.6.0" ,
2525 "eslint-plugin-vue" : " ^9.27.0" ,
26- "turbo" : " ^2.0.9 " ,
26+ "turbo" : " ^2.5.0 " ,
2727 "typescript" : " ^5.5.4"
2828 },
2929 "packageManager" :
" [email protected] " ,
Original file line number Diff line number Diff line change 2424 <pf-tab-title-icon v-if =" $slots.icon" >
2525 <slot name =" icon" />
2626 </pf-tab-title-icon >
27- <pf-tab-title-text v-if =" title" >
28- {{ title }}
29- </pf-tab-title-text >
30- <slot v-else name =" title" />
27+ <slot name =" title" >
28+ <pf-tab-title-text v-if =" title" >
29+ {{ title }}
30+ </pf-tab-title-text >
31+ </slot >
3132 </pf-tab-button >
3233 </li >
3334 </teleport >
@@ -89,6 +90,7 @@ const emit = defineEmits<{
8990defineSlots <{
9091 default? : (props ? : Record <never , never >) => any ;
9192 icon? : (props ? : Record <never , never >) => any ;
93+ title? : (props ? : Record <never , never >) => any ;
9294}>();
9395
9496const instance = getCurrentInstance ();
You can’t perform that action at this time.
0 commit comments