8.14.4 • Published 6 months ago

@types/reactabular-sticky v8.14.4

Weekly downloads
28
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/reactabular-sticky

Summary

This package contains type definitions for reactabular-sticky (http://reactabular.js.org/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/reactabular-sticky.

index.d.ts

// Type definitions for reactabular-sticky 8.14
// Project: http://reactabular.js.org/
// Definitions by: Marcos Junior <https://github.com/junalmeida>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0

import * as Table from "reactabular-table";
import * as React from "react";

export interface StickyHeaderProps {
    tableBody: HTMLElement | null;
    onScroll?: ((e: Partial<UIEvent>) => void) | undefined;
}

export class Header extends React.Component<StickyHeaderProps & Table.HeaderProps> {
    ref: HTMLElement;
    container: HTMLElement;
}

export interface StickyBodyProps {
    tableHeader: HTMLElement | null;
    onScroll?: ((e: Partial<UIEvent>) => void) | undefined;
}

export class Body extends React.Component<StickyBodyProps & Table.BodyProps> {
    ref: HTMLElement;
}

Additional Details

Credits

These definitions were written by Marcos Junior.