add Properties

This commit is contained in:
zhandouxiaojiji committed 2020-10-15 13:24:25 +08:00
1 parent 31d986c5d2
commit d0690f0398
8 files changed
+181 -36

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
import React, { Component } from "react";
import { Menu, Input } from "antd";
import * as fs from 'fs';
import { BehaviorTreeModel } from "../../common/BehaviorTreeModel";
const { Search } = Input;
export interface PropertiesProps {
workspace: string;
onOpenTree: (path: string) => void;
trees: BehaviorTreeModel[];
}
interface PropertiesState {
}
export default class Properties extends Component<PropertiesProps> {
state: PropertiesState = {
};
componentDidMount() {
}
render() {
return (
<div>
<Search
placeholder="Search"
onChange={() => {
}}
/>
<Menu
mode="inline"
>
<Menu.Item>test</Menu.Item>
</Menu>
</div>
)
}
}