Recent searches


No recent searches

Can't use react components in ticket side bar



Posted Mar 01, 2022

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 comment

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


Please sign in to leave a comment.

Didn't find what you're looking for?

New post