Added react-sortable-tree-theme-file-explorer

This commit is contained in:
Jan Dolezel
2018-12-10 10:18:36 +01:00
parent f89573a672
commit d8d71fbdca
4 changed files with 48 additions and 0 deletions
@@ -0,0 +1,10 @@
// Type definitions for react-sortable-tree-theme-file-explorer 0.0
// Project: https://github.com/frontend-collective/react-sortable-tree-theme-file-explorer
// Definitions by: Jan Dolezel <https://github.com/dolezel>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import { ThemeProps } from 'react-sortable-tree';
declare const theme: ThemeProps;
export default theme;
@@ -0,0 +1,12 @@
import * as React from 'react';
import SortableTree from "react-sortable-tree";
import FileExplorerTheme from "react-sortable-tree-theme-file-explorer";
const sortableTree = (
<SortableTree
treeData={[]}
onChange={() => null}
theme={FileExplorerTheme}
/>
);
@@ -0,0 +1,25 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"jsx": "react",
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"react-sortable-tree-theme-file-explorer-tests.tsx"
]
}
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }