Recurse showTypes

This commit is contained in:
Sam Nolan 2022-05-02 21:55:43 +00:00
parent 5df9d0e51b
commit 75a55de373

View File

@ -141,6 +141,8 @@ const SquiggleItem: React.FC<SquiggleItemProps> = ({
expression={r} expression={r}
width={width !== undefined ? width - 20 : width} width={width !== undefined ? width - 20 : width}
height={50} height={50}
showTypes={showTypes}
showControls={showControls}
/> />
))} ))}
</VariableBox> </VariableBox>
@ -155,6 +157,8 @@ const SquiggleItem: React.FC<SquiggleItemProps> = ({
expression={r} expression={r}
width={width !== undefined ? width - 20 : width} width={width !== undefined ? width - 20 : width}
height={50} height={50}
showTypes={showTypes}
showControls={showControls}
/> />
</> </>
))} ))}