carbon-components-svelte/types/Select/SelectItemGroup.svelte.d.ts
Enrico Sacchetti 56488e7375
chore: migrate to svelte-4
- Use `SvelteComponent` instead of `SvelteComponentTyped`
- use `local` transitions for backwards-compatibility
2023-07-07 22:24:53 -04:00

23 lines
533 B
TypeScript

/// <reference types="svelte" />
import type { SvelteComponent } from "svelte";
export interface SelectItemGroupProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["optgroup"]> {
/**
* Set to `true` to disable the optgroup element
* @default false
*/
disabled?: boolean;
/**
* Specify the label attribute of the optgroup element
* @default "Provide label"
*/
label?: string;
}
export default class SelectItemGroup extends SvelteComponent<
SelectItemGroupProps,
{},
{ default: {} }
> {}