How to use the @patternfly/react-core.PageSectionVariants.light function in @patternfly/react-core

To help you get started, we’ve selected a few @patternfly/react-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 3scale / porta / app / javascript / src / Products / components / IndexPage.js View on Github external
itemCount={productsCount}
        perPage={Number(perPage) || 20}
        page={Number(page)}
        onPerPageSelect={selectPerPage}
        onNextClick={(_ev, page) => goToPage(page)}
        onPreviousClick={(_ev, page) => goToPage(page)}
        onFirstClick={(_ev, page) => goToPage(page)}
        onLastClick={(_ev, page) => goToPage(page)}
        perPageOptions={[ { title: '10', value: 10 }, { title: '20', value: 20 } ]}
        variant={variant}
      />
    )
  }

  return (
    
      
        
          <title size="2xl">Products</title>
        
        
          <button href="/apiconfig/services/new" data-testid="productsIndexCreateProduct-buttonLink">
            Create Product
          </button>
        
      
      <p></p>
github patternfly / patternfly-react / packages / patternfly-4 / react-core / src / demos / PageLayout / examples / PageLayoutExpandableNav.js View on Github external
);
    const pageId = 'main-content-page-layout-expandable-nav';
    const PageSkipToContent = Skip to Content;

    return (
      
        
          
            
              
              
            
          
          
            
              {Array.apply(0, Array(10)).map((x, i) =&gt; (
                
                  
                    This is a card
github apache / qpid-dispatch / console / react / src / connectPage.js View on Github external
render() {
    const { showForm } = this.state;
    const { from } = this.props.location.state || { from: { pathname: "/" } };
    return (
      
        
          {showForm ? (
            
          ) : (
            
          )}
          <div>
            
              </div>
github patternfly / patternfly-react / packages / patternfly-4 / react-core / src / demos / PageLayout / examples / PageLayoutGroupsNav.js View on Github external
header={Header}
          sidebar={Sidebar}
          isManagedSidebar
          skipToContent={PageSkipToContent}
          mainContainerId={pageId}
        &gt;
          
            
              
              
            
          
          Light
          Dark
          Darker
          Content
        
      
    );
  }
}
github patternfly / patternfly-react / packages / patternfly-4 / react-integration / demo-app-ts / src / components / demos / PageDemo / PageManagedSidebarDemo.tsx View on Github external
);
    const Sidebar = ;

    return (
      
        Section with darker background
        Section with dark background
        Section with light background
      
    );
  }
}
github patternfly / patternfly-react / packages / patternfly-4 / react-core / src / demos / PageLayout / examples / PageLayoutHorizontalNavCondensed.js View on Github external
};

    const Header = (
      }
        toolbar={PageToolbar}
        avatar={}
        topNav={PageNav}
      /&gt;
    );

    return (
      
        
        
          
            
              
              
            
          
          
            
              {Array.apply(0, Array(50)).map((x, i) =&gt; (
                
                  
                    This is a card
github EnMasseProject / enmasse / console / console-init / ui / src / components / MessagingInstances / MessagingInstances.js View on Github external
handleEdit={this.handleEdit}
                editInstance={() =&gt; this.state.editInstance}
                addNotification={add}
              /&gt;
               this.state.deleteInstances}
                addNotification={add}
              /&gt;
            
          )}
        
        
            
              
                
                  
                
                
                   this.openDeleteModal(this.getSelectedInstances())}
                  /&gt;
                
              
              
                
                  {this.createPaginator()}
github apache / qpid-dispatch / console / react / src / overview / logDetails.js View on Github external
render() {
    if (this.state.redirect) {
      return (
        
      );
    }

    return (
      
        
          {" "}
          
            
              
                
                  {this.icap(this.entity)}
                
                {this.parentItem()}