mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Merge pull request #31228 from dolezel/react-sortable-tree-theme-file-explorer
Added react-sortable-tree-theme-file-explorer
This commit is contained in:
@@ -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;
|
||||
+12
@@ -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" }
|
||||
Reference in New Issue
Block a user