Skip to content

Commit

Permalink
Fix #7046: TreeTable typescript for PT row/column (#7048)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Aug 14, 2024
1 parent 33fede6 commit abbdf45
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion components/lib/treetable/treetable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
*/
import * as React from 'react';
import { CSSProperties } from 'react';
import { Column } from '../column';
import { Column, ColumnPassThroughOptions } from '../column';
import { ComponentHooks } from '../componentbase/componentbase';
import { InputTextPassThroughOptions } from '../inputtext/inputtext';
import { PaginatorPassThroughOptions, PaginatorTemplate } from '../paginator';
import { PassThroughOptions } from '../passthrough';
import { RowPassThroughOptions } from '../row/row';
import { TooltipPassThroughOptions } from '../tooltip/tooltip';
import { TreeNode } from '../treenode';
import { IconType, PassThroughType } from '../utils/utils';

Expand Down Expand Up @@ -211,6 +213,19 @@ export interface TreeTablePassThroughOptions {
* Uses to pass attributes to the hidden input's DOM element.
*/
hiddenInput?: TreeTablePassThroughType<React.HTMLAttributes<HTMLInputElement>>;
/**
* Used to pass attributes to the Row helper components.
*/
row?: RowPassThroughOptions;
/**
* Used to pass attributes to the Column helper components.
*/
column?: ColumnPassThroughOptions;
/**
* Uses to pass attributes tooltip's DOM element.
* @type {TooltipPassThroughOptions}
*/
tooltip?: TooltipPassThroughOptions;
/**
* Used to manage all lifecycle hooks
* @see {@link ComponentHooks}
Expand Down

0 comments on commit abbdf45

Please sign in to comment.