1 | import { h, JSX } from 'preact';
|
2 | import { BaseComponent, BaseProps } from '../base';
|
3 | import { CSSDeclaration, TColumn } from '../../types';
|
4 | export interface THProps extends BaseProps, JSX.HTMLAttributes<HTMLTableCellElement> {
|
5 | index: number;
|
6 | column: TColumn;
|
7 | style?: CSSDeclaration;
|
8 | }
|
9 | export interface THState {
|
10 | style: CSSDeclaration;
|
11 | }
|
12 | export declare class TH extends BaseComponent<THProps, THState> {
|
13 | private sortRef;
|
14 | private thRef;
|
15 | constructor(props: any, context: any);
|
16 | private isSortable;
|
17 | private isResizable;
|
18 | private onClick;
|
19 | private keyDown;
|
20 | componentDidMount(): void;
|
21 | private content;
|
22 | private getCustomAttributes;
|
23 | render(): h.JSX.Element;
|
24 | }
|