0.4.6 • Published 6 months ago
@types/react-treeview v0.4.6
Installation
npm install --save @types/react-treeview
Summary
This package contains type definitions for react-treeview (https://github.com/chenglou/react-treeview).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-treeview.
index.d.ts
// Type definitions for react-treeview 0.4
// Project: https://github.com/chenglou/react-treeview
// Definitions by: Jay Anslow <https://github.com/janslow>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import { Component, HTMLAttributes } from 'react';
declare namespace TreeView {
interface TreeProps extends HTMLAttributes<HTMLDivElement> {
collapsed?: boolean | undefined;
defaultCollapsed?: boolean | undefined;
nodeLabel: React.ReactNode;
itemClassName?: string | undefined;
treeViewClassName?: string | undefined;
childrenClassName?: string | undefined;
}
}
declare class TreeView extends Component<TreeView.TreeProps, any> {
}
export = TreeView;
Additional Details
- Last updated: Thu, 08 Jul 2021 22:41:41 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Jay Anslow.