Merge branch 'main' into feat/hierarchical-theme-config

pull/4660/head
Divyansh Singh 5 months ago committed by GitHub
commit 0e50456017
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -7,7 +7,7 @@ interface Props {
tag?: string tag?: string
size?: 'medium' | 'big' size?: 'medium' | 'big'
theme?: 'brand' | 'alt' | 'sponsor' theme?: 'brand' | 'alt' | 'sponsor'
text: string text?: string
href?: string href?: string
target?: string; target?: string;
rel?: string; rel?: string;
@ -35,7 +35,7 @@ const component = computed(() => {
:target="props.target ?? (isExternal ? '_blank' : undefined)" :target="props.target ?? (isExternal ? '_blank' : undefined)"
:rel="props.rel ?? (isExternal ? 'noreferrer' : undefined)" :rel="props.rel ?? (isExternal ? 'noreferrer' : undefined)"
> >
{{ text }} <slot>{{ text }}</slot>
</component> </component>
</template> </template>

Loading…
Cancel
Save