pseudo-states appear to be working + variables only exist within the scope where they are created
This commit is contained in:
parent
db1479bfc4
commit
d4930eb13d
22 changed files with 742 additions and 569 deletions
10
src/App/BottomPanel.tsx
Normal file
10
src/App/BottomPanel.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { TraceableError } from "../statecharts/parser";
|
||||
|
||||
import "./BottomPanel.css";
|
||||
|
||||
export function BottomPanel(props: {errors: TraceableError[]}) {
|
||||
return <div className="toolbar">
|
||||
<div className="errorStatus">{
|
||||
props.errors.length>0 && <>{props.errors.length} errors {props.errors.map(({message})=>message).join(',')}</>}</div>
|
||||
</div>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue