carbon-components-svelte/types/ComposedModal/ModalBody.svelte.d.ts
Enrico Sacchetti 56488e7375
chore: migrate to svelte-4
- Use `SvelteComponent` instead of `SvelteComponentTyped`
- use `local` transitions for backwards-compatibility
2023-07-07 22:24:53 -04:00

23 lines
520 B
TypeScript

/// <reference types="svelte" />
import type { SvelteComponent } from "svelte";
export interface ModalBodyProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
/**
* Set to `true` if the modal contains form elements
* @default false
*/
hasForm?: boolean;
/**
* Set to `true` if the modal contains scrolling content
* @default false
*/
hasScrollingContent?: boolean;
}
export default class ModalBody extends SvelteComponent<
ModalBodyProps,
{},
{ default: {} }
> {}