Krishnan Suba

Krishnan Suba

  • NA
  • 82
  • 15.2k

How to hide the label using Tpescript react

Jun 12 2023 11:39 AM

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)