mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
* fix(DataTable): useStaticWidth title/description Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com> * docs(DataTable): useStaticWidth title/description Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com> * chore(deps-dev): upgrade carbon-components, sass Co-authored-by: metonym <ericyl.us@gmail.com>
35 lines
700 B
TypeScript
35 lines
700 B
TypeScript
/// <reference types="svelte" />
|
|
import { SvelteComponentTyped } 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 SvelteComponentTyped<
|
|
TableContainerProps,
|
|
{},
|
|
{ default: {} }
|
|
> {}
|