mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
17 lines
389 B
TypeScript
17 lines
389 B
TypeScript
/// <reference types="svelte" />
|
|
import type { SvelteComponentTyped } from "svelte";
|
|
|
|
export interface ContentProps
|
|
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["main"]> {
|
|
/**
|
|
* Specify the id for the main element
|
|
* @default "main-content"
|
|
*/
|
|
id?: string;
|
|
}
|
|
|
|
export default class Content extends SvelteComponentTyped<
|
|
ContentProps,
|
|
{},
|
|
{ default: {} }
|
|
> {}
|