huridocs/uwazi

View on GitHub
app/react/V2/Components/CustomIcons/DatePropertyIcon.tsx

Summary

Maintainability
A
40 mins
Test Coverage
F
50%
import React from 'react';
import { CustomIconProps } from './types';

const DatePropertyIcon = ({ className }: CustomIconProps) => (
  <svg
    className={className || ''}
    xmlns="http://www.w3.org/2000/svg"
    fill="none"
    stroke="currentColor"
    viewBox="2 1 20 22"
  >
    <path
      strokeLinecap="round"
      strokeLinejoin="round"
      strokeWidth="2"
      d="M19 4H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM16 2v4M8 2v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01"
    />
  </svg>
);

export { DatePropertyIcon };