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

This commit is contained in:
Eric Liu 2021-02-17 05:56:33 -08:00 committed by GitHub
commit 827a9822e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 []