bbui Link to ts
This commit is contained in:
parent
7b0a8165ea
commit
ad301edf8f
|
@ -1,18 +1,18 @@
|
||||||
<script>
|
<script lang="ts">
|
||||||
import "@spectrum-css/link/dist/index-vars.css"
|
import "@spectrum-css/link/dist/index-vars.css"
|
||||||
import { createEventDispatcher } from "svelte"
|
import { createEventDispatcher } from "svelte"
|
||||||
import Tooltip from "../Tooltip/Tooltip.svelte"
|
import Tooltip from "../Tooltip/Tooltip.svelte"
|
||||||
|
|
||||||
export let href = "#"
|
export let href: string | null = "#"
|
||||||
export let size = "M"
|
export let size: "S" | "M" | "L" = "M"
|
||||||
export let quiet = false
|
export let quiet: boolean = false
|
||||||
export let primary = false
|
export let primary: boolean = false
|
||||||
export let secondary = false
|
export let secondary: boolean = false
|
||||||
export let overBackground = false
|
export let overBackground: boolean = false
|
||||||
export let target = undefined
|
export let target: string | undefined = undefined
|
||||||
export let download = undefined
|
export let download: boolean | undefined = undefined
|
||||||
export let disabled = false
|
export let disabled: boolean = false
|
||||||
export let tooltip = null
|
export let tooltip: string | null = null
|
||||||
|
|
||||||
const dispatch = createEventDispatcher()
|
const dispatch = createEventDispatcher()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue