fix(clickable-tile): support disabled state for ClickableTile

This commit is contained in:
Eric Y Liu 2021-04-30 16:34:59 -07:00
commit ce5348fdc0
5 changed files with 38 additions and 16 deletions

View file

@ -1,8 +1,7 @@
/// <reference types="svelte" />
import { SvelteComponentTyped } from "svelte";
export interface ClickableTileProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["a"]> {
export interface ClickableTileProps {
/**
* Set to `true` to click the tile
* @default false
@ -15,6 +14,12 @@ export interface ClickableTileProps
*/
light?: boolean;
/**
* Set to `true` to disable the tile
* @default false
*/
disabled?: boolean;
/**
* Set the `href`
*/