jsdf/react-layout

Vertical layout

Opened this issue · 4 comments

Hi,
Is there a way to make this work for vertical components as well?

jsdf commented

Have you tried using layoutHeight instead of layoutWidth?

Yes. But i specified it as
Changing this to fixed the issue.

Seems my formatting got lost
Yes. But i specified it as < Layout layoutHeight='64' >
Changing this to < Layout layoutHeight={barHeight} > fixed the issue.

jsdf commented

Currently fixed heights and widths must be as a number eg layoutHeight={100} whereas layoutHeight="100" would be a string.