good enough node editor

This commit is contained in:
ari committed 2021-12-15 10:43:45 -05:00
1 parent 54e628481c
commit 1643558240
20 files changed
+329 -345

No files matched your search

@@ -1,14 +1,10 @@
import { BaseOptionManager } from "./BaseOptionManager";
import { OptionManager } from "./OptionManager";
export default class Generic extends BaseOptionManager<any> {
defaultState = () => ({})
isReady(state: any): boolean {
return true;
}
renderOptionList(state: any): JSX.Element {
return <div className="state-manager-options">
<b>THIS IS NOT SUPPORTED YET!</b>
</div>
}
export const Generic: OptionManager<any> = {
defaultState: () => ({}),
isReady: _ => true,
renderOptionList: () => <div className="state-manager-options">
<b>THIS IS NOT SUPPORTED YET!</b>
</div>
}