user can select 'plant' from dropdown menu
This commit is contained in:
parent
0da2c793cd
commit
dfbcca5c14
5 changed files with 77 additions and 9 deletions
10
src/Plant/Dummy/Dummy.tsx
Normal file
10
src/Plant/Dummy/Dummy.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { RaisedEvent } from "@/statecharts/runtime_types";
|
||||
import { Plant } from "../Plant";
|
||||
|
||||
export const DummyPlant: Plant<{}> = {
|
||||
inputEvents: [],
|
||||
outputEvents: [],
|
||||
initial: () => ({}),
|
||||
reducer: (_inputEvent: RaisedEvent, _state: {}) => ({}),
|
||||
render: (_state: {}) => <></>,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue