mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
fix(clickable-tile): support disabled state for ClickableTile
This commit is contained in:
parent
5e6e8dbb1c
commit
ce5348fdc0
5 changed files with 38 additions and 16 deletions
9
types/Tile/ClickableTile.d.ts
vendored
9
types/Tile/ClickableTile.d.ts
vendored
|
@ -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`
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue