carbon-components-svelte/types/UIShell/Content.svelte.d.ts
2023-06-04 09:49:14 -07:00

19 lines
422 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;
[key: `data-${string}`]: any;
}
export default class Content extends SvelteComponentTyped<
ContentProps,
{},
{ default: {} }
> {}