最近搜索


没有最近搜索

Can't use react components in ticket side bar



已于 2022年3月01日 发布

The issue I am facing is while running react components as shown in screenshot_1.png even I had Installed all garden libraries and react components and the error is shown in screenshot_2.png please guide me?

Note: All I am doing is simple HTML as shown in screenshot_3.png but i want to use this in react HTML

Screenshot_1:

screenshot_2:

 

screenshot_3:


0

1

1 条评论

image avatar

Erica Girges

Zendesk Developer Advocacy

Hi Furqan!
 
I noticed you don't have this jsx wrapped in a Grid component. In order to be able to use: Row, Column and other Grid related components/attributes you need to have your content wrapped in the Grid component this will trickle down and give you access to using the children elements' properties. This is similar to how when using flexbox or grid in CSS the display property needs to be set in the parent element first.
 
Hope this helps!
 
Best,
 
Erica - Dev Support

0


请先登录再写评论。

找不到所需的内容?

新建帖子