mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(context-menu): annotate props, generate types
This commit is contained in:
parent
3a1e561a27
commit
2ff4d43292
11 changed files with 582 additions and 19 deletions
22
types/ContextMenu/ContextMenuRadioGroup.d.ts
vendored
Normal file
22
types/ContextMenu/ContextMenuRadioGroup.d.ts
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/// <reference types="svelte" />
|
||||
import { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export interface ContextMenuRadioGroupProps {
|
||||
/**
|
||||
* Set the selected radio group id
|
||||
* @default ""
|
||||
*/
|
||||
selectedId?: string;
|
||||
|
||||
/**
|
||||
* Specify the label text
|
||||
* @default ""
|
||||
*/
|
||||
labelText?: string;
|
||||
}
|
||||
|
||||
export default class ContextMenuRadioGroup extends SvelteComponentTyped<
|
||||
ContextMenuRadioGroupProps,
|
||||
{},
|
||||
{ default: {} }
|
||||
> {}
|
Loading…
Add table
Add a link
Reference in a new issue