1
Answer

How to hide the label using Tpescript react

Krishnan Suba

Krishnan Suba

1y
604
1

Hi, I tired below code but not work. pls help me

<div className='m1-bottom' id='divproductbrochure'>

              <TreeItem

               is={'site.journeyType === Journey.sitename ? false : true'}

                key={'product-code'}

                nodeId={'product--id'}

                label={'Product name'}

                onClick={() => openbookDocument('12342113')}

                endIcon={<iconimg />}></TreeItem>

            </div>

 

Answers (1)