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

     1  import * as React from 'react';
     2  import {COLORS} from './colors';
     3  
     4  export const Spinner = ({show, style = {}}: {show: boolean; style?: React.CSSProperties}) =>
     5      show ? (
     6          <span style={style}>
     7              <i className='fa fa-circle-notch fa-spin' style={{color: COLORS.operation.running}} />
     8          </span>
     9      ) : null;