mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
- use Svelte 3.55.0 since that's the minimum target for SvelteKit and svelte-check - revert to using SvelteComponentTyped for high compatibility. We'll migrate to SvelteComponent after dropping Svelte 3
21 lines
400 B
TypeScript
21 lines
400 B
TypeScript
/// <reference types="svelte" />
|
|
import type { SvelteComponentTyped } from "svelte";
|
|
|
|
export interface ContextMenuGroupProps {
|
|
/**
|
|
* @default []
|
|
*/
|
|
selectedIds?: ReadonlyArray<string>;
|
|
|
|
/**
|
|
* Specify the label text
|
|
* @default ""
|
|
*/
|
|
labelText?: string;
|
|
}
|
|
|
|
export default class ContextMenuGroup extends SvelteComponentTyped<
|
|
ContextMenuGroupProps,
|
|
{},
|
|
{ default: {} }
|
|
> {}
|