npm.io
8.16.3 • Published 2 years ago

@types/reactabular-dnd

Licence
MIT
Version
8.16.3
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/reactabular-dnd

Summary

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

Details

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

index.d.ts

import * as Table from "reactabular-table";

import { JSX } from "react";

export interface DndMoveEvent {
    sourceLabel: string;
    targetLabel: string;
}

export function moveLabels(columns: Table.Column[], event: DndMoveEvent): Table.Column[];

export function Header(props: any): JSX.Element;

Additional Details

Credits

These definitions were written by Marcos Junior.