feat: undefined type
This commit is contained in:
parent
2aa31e0405
commit
fd6220398e
|
@ -274,6 +274,7 @@ const Expression = ({
|
||||||
className={classnames(
|
className={classnames(
|
||||||
'expression',
|
'expression',
|
||||||
{'wrong-type': realType !== type},
|
{'wrong-type': realType !== type},
|
||||||
|
{'undefined-type': 'undefined' === realType},
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{Renderables}
|
{Renderables}
|
||||||
|
|
|
@ -7,7 +7,11 @@
|
||||||
color: #00bdd6;
|
color: #00bdd6;
|
||||||
}
|
}
|
||||||
&.wrong-type {
|
&.wrong-type {
|
||||||
background-color: rgba(255, 0, 0, 0.4);
|
background-color: rgb(180, 0, 0);
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
&.undefined-type {
|
||||||
|
background-color: rgb(180, 180, 0);
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
> .expression {
|
> .expression {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user