Krishnan Suba

Krishnan Suba

  • 1.6k
  • 82
  • 13.9k

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)