XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Train 35 - 1

      Scope component and its navigation 

      • Cluster/Cluster set
        • Access Level

       

      the Cluster component will wrap ExamplesScopesDrawer like
       

      const [isDrawerVisible, setIsDrawerVisible] = useState(false)
      
      consthandleToggleDrawer= () => {
      setIsDrawerVisible(!isDrawerVisible)
      }
      
      consthandleCloseDrawer= () => {
      setIsDrawerVisible(false)
      }
      
      return (
      <>
      <Buttonvariant="link"onClick=\{handleToggleDrawer}>
      {isDrawerVisible?'Hide':'Show'} Example Scopes
      </Button>
      
      <ExampleScopesDrawerisVisible=\{isDrawerVisible}onClose=\{handleCloseDrawer}>
      Scope content
      </ExampleScopesDrawer>
      </>
      )
      

              Unassigned Unassigned
              emingora Enrique Mingorance Cano
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: