refactor(link): make a precede p element for restProps

This commit is contained in:
Eric Liu 2022-04-09 14:14:42 -07:00
commit 5c2e65e9cf
3 changed files with 4 additions and 4 deletions

View file

@ -2,8 +2,8 @@
import type { SvelteComponentTyped } from "svelte";
export interface LinkProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["p"]>,
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["a"]> {
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["a"]>,
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["p"]> {
/**
* Specify the size of the link
* @default undefined