Ace Code Editor - How to set height of component

Hi All,

I’ve managed to embed the Ace Editor into my app with the help of this post:

I’ve made the editor a custom component. However, when I run the app, the editor is displayed as a thin black line. I believe this is because it has a height of 0? I’ve tried playing with the code, but can’t seem to find a way to set the height of the editor. Could anyone point me in the right direction please?

Sample app below:

Thanks,