How to make react component blocks?

Hi. 
I have a problem with indentation for react components in jsx. 
Now  the components are inline



But, how can i make them blocks, each component in one line. 
Thanks.

0
2 comments

No way, JSX tags are considered 'inline' when formatting. I can only suggest adding line breaks manually, having the Keep line breaks in text enabled to preserve them on re-formatting. Related youtrack ticket: https://youtrack.jetbrains.com/issue/WEB-37966

0

Thanks for answer.

0

Please sign in to leave a comment.