mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Closes #1259 * breaking(types): type arrays as read-only * Run "yarn build:docs" * test: assert read-only arrays
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: {} }
|
|
> {}
|