carbon-components-svelte/types/DataTable/TableContainer.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

35 lines
695 B
TypeScript

/// <reference types="svelte" />
import type { SvelteComponent } from "svelte";
export interface TableContainerProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
/**
* Specify the title of the data table
* @default ""
*/
title?: string;
/**
* Specify the description of the data table
* @default ""
*/
description?: string;
/**
* Set to `true` to enable a sticky header
* @default false
*/
stickyHeader?: boolean;
/**
* Set to `true` to use static width
* @default false
*/
useStaticWidth?: boolean;
}
export default class TableContainer extends SvelteComponent<
TableContainerProps,
{},
{ default: {} }
> {}