mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
24 lines
551 B
TypeScript
24 lines
551 B
TypeScript
/// <reference types="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 {
|
|
$$prop_def: SelectItemGroupProps;
|
|
$$slot_def: {
|
|
default: {};
|
|
};
|
|
|
|
$on(eventname: string, cb: (event: Event) => void): () => void;
|
|
}
|