🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-accessible-tree

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-accessible-tree - npm Package Compare versions

Comparing version

to
1.0.3

67

dist/index.d.ts

@@ -5,40 +5,35 @@ // Generated by dts-bundle v0.7.3

declare module 'index' {
export * from "index/ReactAccessibleTree";
}
import * as React from "react";
declare module 'index/ReactAccessibleTree' {
import * as React from "react";
export interface ISearchMethodParams {
node: any;
path: number[] | string[];
treeIndex: number;
searchQuery: any;
}
export interface ITreeNode<T = {}> {
title: string | React.ReactNode;
children: ITreeNode[];
searchKeys: string[];
id: string;
extra?: T;
expanded?: boolean;
selected?: boolean;
isTag?: boolean;
ariaLabel?: string;
}
export interface IAccessibleTreeStyles {
root?: Partial<React.CSSProperties>;
group?: Partial<React.CSSProperties>;
item?: Partial<React.CSSProperties>;
}
interface IProps {
treeData: ITreeNode[];
styles?: IAccessibleTreeStyles;
onChange(data: ITreeNode[]): void;
onRenderItem?(item: ITreeNode): React.ReactNode;
onItemKeyDown?(evt: React.KeyboardEvent, item: ITreeNode): void;
}
export const ReactAccessibleTree: React.FunctionComponent<IProps>;
export {};
export interface ISearchMethodParams {
node: any;
path: number[] | string[];
treeIndex: number;
searchQuery: any;
}
export interface ITreeNode<T = {}> {
title: string | React.ReactNode;
children: ITreeNode[];
searchKeys: string[];
id: string;
extra?: T;
expanded?: boolean;
selected?: boolean;
isTag?: boolean;
ariaLabel?: string;
}
export interface IAccessibleTreeStyles {
root?: Partial<React.CSSProperties>;
group?: Partial<React.CSSProperties>;
item?: Partial<React.CSSProperties>;
}
interface IProps {
treeData: ITreeNode[];
styles?: IAccessibleTreeStyles;
onChange(data: ITreeNode[]): void;
onRenderItem?(item: ITreeNode): React.ReactNode;
onItemKeyDown?(evt: React.KeyboardEvent, item: ITreeNode): void;
}
export const ReactAccessibleTree: React.FunctionComponent<IProps>;
export {};
{
"name": "react-accessible-tree",
"version": "1.0.2",
"version": "1.0.3",
"main": "dist/index",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -10,5 +10,6 @@ const { exec } = require("child_process");

name: "index",
main: "dist/index.d.ts"
main: "dist/index.d.ts",
outputAsModuleFolder: true
});
}
});

Sorry, the diff of this file is not supported yet