Merge pull request #31228 from dolezel/react-sortable-tree-theme-file-explorer

Added react-sortable-tree-theme-file-explorer
This commit is contained in:
Nathan Shively-Sanders
2018-12-17 15:12:48 -08:00
committed by GitHub
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" }