mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
28 lines
571 B
TypeScript
28 lines
571 B
TypeScript
/// <reference types="svelte" />
|
|
import { SvelteComponentTyped } from "svelte";
|
|
|
|
export interface TileGroupProps
|
|
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["fieldset"]> {
|
|
/**
|
|
* Specify the selected tile value
|
|
*/
|
|
selected?: string;
|
|
|
|
/**
|
|
* Set to `true` to disable the tile group
|
|
* @default false
|
|
*/
|
|
disabled?: boolean;
|
|
|
|
/**
|
|
* Specify the legend text
|
|
* @default ""
|
|
*/
|
|
legend?: string;
|
|
}
|
|
|
|
export default class TileGroup extends SvelteComponentTyped<
|
|
TileGroupProps,
|
|
{ select: CustomEvent<any> },
|
|
{ default: {} }
|
|
> {}
|