mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
17 lines
360 B
TypeScript
17 lines
360 B
TypeScript
/// <reference types="svelte" />
|
|
|
|
export default class Content {
|
|
$$prop_def: svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["main"]> & {
|
|
/**
|
|
* Specify the id for the main element
|
|
* @default "main-content"
|
|
*/
|
|
id?: string;
|
|
};
|
|
|
|
$$slot_def: {
|
|
default: {};
|
|
};
|
|
|
|
$on(eventname: string, cb: (event: Event) => void): () => void;
|
|
}
|