All files / src/components/CommentSelectCheckboxLoader index.tsx

100% Statements 11/11
100% Branches 1/1
100% Functions 1/1
100% Lines 11/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24  1x     1x     1x           1x 2x 2x 2x 2x 2x   2x 2x    
// Utils
import { combineClasses } from '@shared/utils';
 
// Components
import { LoadingIcon } from '@/components/icons/reacts';
 
// Styles
import './styles/comment-select-checkbox-loader.css';
 
export interface CommentSelectCheckboxLoaderProps {
  className?: string;
}
 
export const CommentSelectCheckboxLoader = ({
  className = '',
}: CommentSelectCheckboxLoaderProps) => (
  <span
    aria-label="Marking as read"
    className={combineClasses('comment-select-checkbox-loader', className)}
  >
    <LoadingIcon className="comment-select-checkbox-loader-icon" />
  </span>
);