How to use the @patternfly/react-core.ButtonVariant.link 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 kiegroup / optaweb-employee-rostering / employee-rostering-frontend / src / ui / pages / rotation / RotationPage.tsx View on Github external
dayStart: Math.floor(modulo(
            props.shiftTemplate.durationBetweenRotationStartAndTemplateStart.asDays(),
            props.rotationLength,
          )) + 1,
          startTime: moment('2018-01-01')
            .add(props.shiftTemplate.durationBetweenRotationStartAndTemplateStart).format('LT'),
          dayEnd: Math.floor(modulo(durationBetweenRotationStartAndEnd.asDays(),
            props.rotationLength)) + 1,
          endTime: moment('2018-01-01')
            .add(durationBetweenRotationStartAndEnd).format('LT'),
        })}

      
      <button> props.onEdit(props.shiftTemplate)}
        variant={ButtonVariant.link}
      &gt;
        
      </button>
      <button> props.onDelete(props.shiftTemplate)}
        variant={ButtonVariant.link}
      &gt;
        
      </button>
    
  );
};
github openshift / console / frontend / packages / kubevirt-plugin / src / components / create-vm-wizard / tabs / storage-tab / storage-tab.tsx View on Github external
)}
        
      )}
      {!showStorages &amp;&amp; (
        
          
            <title size="lg">
              No disks attached
            </title>
            <button>} variant={ButtonVariant.link}&gt;
              {ADD_DISK}
            </button>
          
        
      )}
    
  );
};
github kiegroup / optaweb-employee-rostering / employee-rostering-frontend / src / ui / components / ServerSideExceptionDialog.tsx View on Github external
export const ServerSideExceptionDialog: React.FC&gt; = (props) =&gt; {
  const [isOpen, setIsOpen] = React.useState(false);
  const dialogBody = createStackTrace(props);
  const { t } = useTranslation("ServerSideException");
  
  return (
    &lt;&gt;
      {t(props.i18nKey, props.messageParameters)}
      <button aria-label="Show Stack Trace"> setIsOpen(true)}
      &gt;
        {props.children}
      </button>
       setIsOpen(false)}
        actions={(
          <button aria-label="Close"> setIsOpen(false)}
          &gt;
            {t("close")}
          </button>
        )}
github openshift / console / frontend / packages / kubevirt-plugin / src / components / create-vm-wizard / tabs / cloud-init-tab / cloud-init-tab.tsx View on Github external
onClick={() =&gt; {
                    const result = authKeys.filter((val, i) =&gt; i !== idx);
                    onEntryChange(
                      CloudInitDataFormKeys.SSH_AUTHORIZED_KEYS,
                      areAuthKeysEmpty(result) ? undefined : result,
                    );
                  }}
                /&gt;
              
            
          );
        })}
        <button id="{asId(joinIDs(CloudInitDataFormKeys.SSH_AUTHORIZED_KEYS,">}
          variant={ButtonVariant.link}
          isDisabled={isDisabled}
          isInline
          onClick={() =&gt; {
            onEntryChange(CloudInitDataFormKeys.SSH_AUTHORIZED_KEYS, [...authKeys, '']);
          }}
        &gt;
          Add SSH Key
        </button>
      
    
  );
};
github openshift / console / frontend / packages / dev-console / src / components / pipelines / pipeline-resource / PipelineResourceParam.tsx View on Github external
return ;
      case 'storage':
        return ;
      default:
        return null;
    }
  };

  return (
    <div>
      {resourceComponent()}
      
        
          <button aria-label="create" type="button">
            
          </button>
          <button aria-label="close" type="button">
            </button></div>
github openshift / console / frontend / packages / kubevirt-plugin / src / components / create-vm-wizard / tabs / networking-tab / networking-tab.tsx View on Github external
)}
        
      )}
      {!showNetworks &amp;&amp; (
        
          
            <title size="lg">
              No network interface added
            </title>
            <button>} variant={ButtonVariant.link}&gt;
              {ADD_NETWORK_INTERFACE}
            </button>
          
        
      )}
    
  );
};
github kiali / kiali-ui / src / components / NamespaceDropdown.tsx View on Github external
name="namespace-filter"
            placeholder="Filter by Name..."
            value={this.props.filter}
            onChange={this.onFilterChange}
          /&gt;
          {this.props.filter &amp;&amp; (
            
              <button>
                
              </button>
            
          )}
        
        <div>
          <button aria-label="clear-all" disabled="{this.props.activeNamespaces.length">
            Clear all
          </button>
        </div>
      
    );
  }
github openshift / console / frontend / packages / kubevirt-plugin / src / components / create-vm-wizard / create-vm-wizard-footer.tsx View on Github external
&gt;
                {REVIEW_AND_CREATE}
              
            )}
            {!activeStep.hideBackButton &amp;&amp; !isLastStep &amp;&amp; (
              <button>
                Back
              </button>
            )}
            {!activeStep.hideCancelButton &amp;&amp; (
              <button>
                Cancel
              </button>
            )}
          
        );
      }}
github kiali / kiali-ui / src / pages / Graph / GraphToolbar / GraphToolbar.tsx View on Github external
render() {
    const graphTypeKey: string = _.findKey(GraphType, val =&gt; val === this.props.graphType)!;
    const edgeLabelModeKey: string = _.findKey(EdgeLabelMode, val =&gt; val === this.props.edgeLabelMode)!;
    return (
      &lt;&gt;
        
          <div style="{{">
            {this.props.node ? (
              <button>
                Back to full {GraphToolbar.GRAPH_TYPES[graphTypeKey]}
              </button>
            ) : (
              
                
              
            )}
            <div>
              </div></div>