How to use the @patternfly/react-core.TextVariants.small 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 / portafly / src / components / data-list / BulkActionsWidget.tsx View on Github external
const isDisabled = selectedRows.length === 0

  const [isOpen, setIsOpen] = useState(false)

  const toggle = (
    
      {t('bulk_actions.title')}
    
  )

  const warning = [
    // FIXME: add styles to look like in mockup
    
      
        
        
      
    ,
    
  ]

  const dropdownItems = useMemo(() => [
    ...(isDisabled ? warning : []),
    ...Object.keys(actions).map((key) => (
       setModal(key as BulkAction)}
      >
github syndesisio / syndesis / app / ui-react / packages / ui / src / Data / Virtualizations / Metrics / DvResultSetCacheMetric.tsx View on Github external
{props.i18nCacheHitRatioText}
            
            
              {props.i18nInfoMessage}}
                closeBtnAriaLabel={props.a11yInfoCloseButton}
              >
                
              
            
          
        ) : (
          
            
          
        )}
      
    
  );
};
github kiegroup / kie-cloud-operator / vendor / github.com / RHsyseng / console-cr-form / frontend / src / component / operator-wizard / page-component / ReviewPage.js View on Github external
);
      } else {
        const { showErrorMsg } = this.state;
        return (
          
            
            <title size="lg">
              Unable to deploy the application
            </title>
            
              
                
              
            
          
        );
      }
    } else {
      return (
        <form>
          <title size="2xl">
            Confirm the installation settings
          </title>
          
            </form>
github ansible / ansible-hub-ui / src / components / collection-list / collection-list-item.tsx View on Github external
cells.push(
            
                <div>
                    
                        {name}
                    
                    {deprecated &amp;&amp; }
                    {showNamespace ? (
                        
                            
                        
                    ) : null}
                </div>
                <div>
                    {latest_version.metadata.description}
                </div>
                <div>
                    {latest_version.metadata.tags.map((tag, index) =&gt; (
                        {tag}
                    ))}
                </div>
                <div>
                    {Object.keys(contentSummary.contents).map(k =&gt; (
                        <div></div></div>
github ansible / ansible-hub-ui / src / components / cards / collection-card.tsx View on Github external
<div>
                        
                            {name}
                        
                    </div>
                    <div>
                        
                            
                        
                    </div>
                
                
                    {this.getDescription(latest_version.metadata.description)}
                
                
                    {Object.keys(contentSummary.contents).map(k =&gt;
                        this.renderTypeCount(k, contentSummary.contents[k]),
                    )}
                
            
        );
    }
github Jug-Vale / jug-call4papers / jug-cfp-client / src / app / components / DetalhesEvento.tsx View on Github external
{carregando ?  :
          evento ?
            
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                
              
              
                
                  
                    <button> {evento.inscricoesAbertas ? "Inscrever" : "Inscrições Fechadas"} </button>
                  
                  
                    <button> {evento.aceitandoTrabalhos ? "Enviar Palestra" : "Palestras Fechadas"} </button>