carbon-components-svelte
Version:
Svelte implementation of the Carbon Design System
26 lines (19 loc) • 658 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
/** Group a set of `ProfileMenuItem` components in the default slot. */
type $RestProps = SvelteHTMLElements["div"];
type $Props = {
/**
* Obtain a reference to the HTML element.
* @default null
*/
ref?: null | HTMLDivElement;
children?: (this: void) => void;
[key: `data-${string}`]: unknown;
};
export type ProfileMenuListProps = Omit<$RestProps, keyof $Props> & $Props;
export default class ProfileMenuList extends SvelteComponentTyped<
ProfileMenuListProps,
Record<string, any>,
{ default: Record<string, never> }
> {}