FileIcon.tsx 1.1 KB

1234567891011121314151617181920
  1. import React from 'react';
  2. import { useTheme } from 'styled-components';
  3. const FileIcon: React.FC = () => {
  4. const theme = useTheme();
  5. return (
  6. <svg
  7. xmlns="http://www.w3.org/2000/svg"
  8. viewBox="0 0 384 512"
  9. width="10"
  10. height="10"
  11. fill={theme.icons.fileIcon}
  12. >
  13. {/* Font Awesome Pro 6.1.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. */}
  14. <path d="M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0L64-.0001c-35.35 0-64 28.65-64 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM96 280C96 293.3 106.8 304 120 304h144C277.3 304 288 293.3 288 280S277.3 256 264 256h-144C106.8 256 96 266.8 96 280zM264 352h-144C106.8 352 96 362.8 96 376s10.75 24 24 24h144c13.25 0 24-10.75 24-24S277.3 352 264 352z" />
  15. </svg>
  16. );
  17. };
  18. export default FileIcon;