github.com/argoproj/argo-cd@v1.8.7/ui/src/app/shared/components/revision-help-icon.tsx (about)

     1  import {HelpIcon} from 'argo-ui';
     2  import * as React from 'react';
     3  
     4  export const RevisionHelpIcon = ({type, top, right}: {type: string; top?: string; right?: string}) => (
     5      <div style={{position: 'absolute', top: top === undefined ? '1em' : top, right: right === undefined ? '0.5em' : right}}>
     6          {type === 'helm' ? (
     7              <HelpIcon title='E.g. 1.2.0, 1.2.*, 1.*, or *' />
     8          ) : (
     9              <HelpIcon title='Branches, tags, commit hashes and symbolic refs are allowed. E.g. "master", "v1.2.0", "0a1b2c3", or "HEAD".' />
    10          )}
    11      </div>
    12  );