We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7148b commit 35dfbefCopy full SHA for 35dfbef
src/components/Navigator/NavigatorCardItem.vue
@@ -184,6 +184,10 @@ export default {
184
type: Object,
185
default: () => ({}),
186
},
187
+ customTag: {
188
+ type: String,
189
+ require: false,
190
+ },
191
192
idState() {
193
return {
@@ -204,7 +208,11 @@ export default {
204
208
),
205
209
isBeta: ({ item: { beta } }) => !!beta,
206
210
isDeprecated: ({ item: { deprecated } }) => !!deprecated,
207
- refComponent: ({ isGroupMarker }) => (isGroupMarker ? 'h3' : Reference),
211
+ refComponent: ({ isGroupMarker, customTag }) => {
212
+ if (customTag) return customTag;
213
+ if (isGroupMarker) return 'h3';
214
+ return Reference;
215
216
217
methods: {
218
toggleTree() {
0 commit comments