fix(data-table): specify that restProps are forwarded to "div" #524

This commit is contained in:
Eric Liu 2021-02-17 03:41:54 -08:00
commit 5839dbe702
4 changed files with 5 additions and 3 deletions

View file

@ -35,7 +35,8 @@ export interface DataTableCell {
value: DataTableValue;
}
export interface DataTableProps {
export interface DataTableProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
/**
* Specify the data table headers
* @default []