How to use the @patternfly/react-core.TextVariants.h2 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 patternfly / patternfly-react / packages / patternfly-4 / react-charts / src / components / LineChart / examples / SimpleChart.js View on Github external
<div>
            <div>
              <div>
                {this.getChart(ChartTheme.light.green)}
              </div>
              <div>
                {this.getlegend(ChartTheme.light.green)}
              </div>
            </div>
          </div>
        
        
          
          <div>
            <div>
              {this.getChart(ChartTheme.light.multi)}
            </div>
            <div>
              {this.getlegend(ChartTheme.light.multi)}
            </div>
          </div>
        
      
    );
  }
}
github Jug-Vale / jug-call4papers / jug-cfp-client / src / app / components / PaginaEventos.tsx View on Github external
render() {
    const {carregando, eventos}  = this.state;
    return ( 
      
        
          
              
            
        
        
          {carregando ? 
             :
            
                {eventos.map((evento, i) =&gt; (
                  
                     this.selecionaEvento(evento)} className="pf-c-card-eventos"&gt; 
                      {evento.nome}
                      
                      
                      {evento.inscricoesAbertas  ? 
                            Inscrições Abertas : 
                            Inscrições Fechadas  
                      }
github patternfly / patternfly-react / packages / patternfly-4 / react-charts / src / components / BulletChart / examples / SimpleChart.js View on Github external
render() {
    return (
      
        
          
          <div>{this.getHeatMap(ChartTheme.light.blue)}</div>
        
        
          
          <div>{this.getHeatMap(ChartTheme.light.multi)}</div>
        
      
    );
  }
}
github syndesisio / syndesis / app / ui-react / packages / ui / src / Data / Virtualizations / Views / CreateViewHeader.tsx View on Github external
i18nCancel,
  onCancel,
  onBack,
  onNext,
  cancelHref,
  backHref,
  nextHref,
  isNextLoading,
  isNextDisabled,
  isLastStep = false,
}: ICreateViewHeaderProps) =&gt; {
  return (
    
      
        
          
        
      
      
      
        {step === 2 &amp;&amp; (
github patternfly / patternfly-react / packages / patternfly-4 / react-charts / src / components / HeatMap / examples / SimpleHeatMap.js View on Github external
render() {
    return (
      
        
          
          <div>{this.getHeatMap(ChartTheme.light.blue)}</div>
        
        
          
          <div>{this.getHeatMap(ChartTheme.light.multi)}</div>
        
      
    );
  }
}
github kiali / kiali-ui / src / pages / Overview / OverviewCardContentExpanded.tsx View on Github external
const name = this.props.name;
    const status = this.props.status;
    const nbItems =
      status.inError.length + status.inWarning.length + status.inSuccess.length + status.notAvailable.length;
    let text: string;
    if (nbItems === 1) {
      text = switchType(this.props.type, '1 Application', '1 Service', '1 Workload');
    } else {
      text = nbItems + switchType(this.props.type, ' Applications', ' Services', ' Workloads');
    }
    const mainLink = {text};
    if (nbItems === status.notAvailable.length) {
      return (
        &lt;&gt;
          {mainLink}
          
        
      );
    }
    return (
      &lt;&gt;
        {mainLink}
        
        <div style="{{">
          </div>
github syndesisio / syndesis / app / ui-react / packages / ui / src / Data / Virtualizations / Views / SelectedConnectionTables.tsx View on Github external
export const SelectedConnectionTables: React.FunctionComponent = props =&gt; {
  return (
    
      
        
          
        
      
      
        {props.selectedSchemaNodesLength === 0 ? (
          
            
              
              <title size="lg">
                {props.i18nTablesSelected}
              </title>
              
                {props.i18nEmptyTablePreview}
github kiali / kiali-ui / src / pages / IstioConfigDetails / IstioObjectDetails / DestinationRuleDetail.tsx View on Github external
trafficPolicy() {
    const destinationRule = this.props.destinationRule;
    const hasTrafficPolicy = !!destinationRule.spec.trafficPolicy;

    return (
      
        
          
            
            
              
                {hasTrafficPolicy ? (
                  
                ) : (
                  
                )}
              
            
          
        
      
    );
  }
github patternfly / patternfly-react / packages / patternfly-4 / react-charts / src / components / BarChart / examples / SimpleChart.js View on Github external
render() {
    return (
      
        
          
          <div>{this.getChart(ChartTheme.light.blue)}</div>
        
        
          
          <div>{this.getChart(ChartTheme.light.multi)}</div>
        
      
    );
  }
}