feat(theme): allow selectively disabling external link icon on navbar items (#3607)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/3651/head
Rick Dubiel 4 months ago committed by GitHub
parent 59183e9cef
commit 5f6297cb3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -93,6 +93,7 @@ interface NavItemWithLink {
activeMatch?: string
target?: string
rel?: string
noIcon?: boolean
}
interface NavItemChildren {

@ -93,6 +93,7 @@ interface NavItemWithLink {
activeMatch?: string
target?: string
rel?: string
noIcon?: boolean
}
interface NavItemChildren {

@ -93,6 +93,7 @@ interface NavItemWithLink {
activeMatch?: string
target?: string
rel?: string
noIcon?: boolean
}
interface NavItemChildren {

@ -22,6 +22,7 @@ const { page } = useData()
)
}"
:href="item.link"
:noIcon="item.noIcon"
:target="item.target"
:rel="item.rel"
tabindex="0"

@ -176,6 +176,7 @@ export namespace DefaultTheme {
activeMatch?: string
rel?: string
target?: string
noIcon?: boolean
}
export interface NavItemChildren {

Loading…
Cancel
Save