jsx not working

前端 未结 6 1899
無奈伤痛
無奈伤痛 2020-12-13 03:02

I am using the   tag in jsx and it is not rendering the space. The following is a small snippet of my code.Please help.

var Reporting=React.createCla         


        
6条回答
  •  遥遥无期
    2020-12-13 03:47

    Try to use utf-8 nbsp, seem as simple space, but working good without extra code.

    Maybe, you should create variable for this.

    For copy symbols: https://unicode-table.com/en/00A0/

    For generate texts automatically, use some typograf.

提交回复
热议问题