151 lines
4.2 KiB
TypeScript
151 lines
4.2 KiB
TypeScript
import * as React from "react";
|
|
import { IconSvgProps } from "@/types/globals";
|
|
|
|
export const PdfIcon = ({
|
|
size,
|
|
height = 24,
|
|
width = 24,
|
|
fill = "currentColor",
|
|
...props
|
|
}: IconSvgProps) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={size || width}
|
|
height={size || height}
|
|
viewBox="0 0 15 15"
|
|
{...props}
|
|
>
|
|
<path
|
|
fill="currentColor"
|
|
d="M3.5 8H3V7h.5a.5.5 0 0 1 0 1M7 10V7h.5a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5z"
|
|
/>
|
|
<path
|
|
fill="currentColor"
|
|
fillRule="evenodd"
|
|
d="M1 1.5A1.5 1.5 0 0 1 2.5 0h8.207L14 3.293V13.5a1.5 1.5 0 0 1-1.5 1.5h-10A1.5 1.5 0 0 1 1 13.5zM3.5 6H2v5h1V9h.5a1.5 1.5 0 1 0 0-3m4 0H6v5h1.5A1.5 1.5 0 0 0 9 9.5v-2A1.5 1.5 0 0 0 7.5 6m2.5 5V6h3v1h-2v1h1v1h-1v2z"
|
|
clipRule="evenodd"
|
|
/>
|
|
</svg>
|
|
);
|
|
export const CsvIcon = ({
|
|
size,
|
|
height = 24,
|
|
width = 24,
|
|
fill = "currentColor",
|
|
...props
|
|
}: IconSvgProps) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={size || width}
|
|
height={size || height}
|
|
{...props}
|
|
viewBox="0 0 15 15"
|
|
>
|
|
<path
|
|
fill="currentColor"
|
|
fillRule="evenodd"
|
|
d="M1 1.5A1.5 1.5 0 0 1 2.5 0h8.207L14 3.293V13.5a1.5 1.5 0 0 1-1.5 1.5h-10A1.5 1.5 0 0 1 1 13.5zM2 6h3v1H3v3h2v1H2zm7 0H6v3h2v1H6v1h3V8H7V7h2zm2 0h-1v3.707l1.5 1.5l1.5-1.5V6h-1v3.293l-.5.5l-.5-.5z"
|
|
clipRule="evenodd"
|
|
/>
|
|
</svg>
|
|
);
|
|
export const ExcelIcon = ({
|
|
size,
|
|
height = 24,
|
|
width = 24,
|
|
fill = "currentColor",
|
|
...props
|
|
}: IconSvgProps) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
viewBox="0 0 15 15"
|
|
width={size || width}
|
|
height={size || height}
|
|
{...props}
|
|
>
|
|
<path
|
|
fill="currentColor"
|
|
d="M3.793 7.5L2.146 5.854l.708-.708L4.5 6.793l1.646-1.647l.708.708L5.207 7.5l1.647 1.646l-.708.708L4.5 8.207L2.854 9.854l-.708-.708z"
|
|
/>
|
|
<path
|
|
fill="currentColor"
|
|
fillRule="evenodd"
|
|
d="M3.5 0A1.5 1.5 0 0 0 2 1.5V3h-.5A1.5 1.5 0 0 0 0 4.5v6A1.5 1.5 0 0 0 1.5 12H2v1.5A1.5 1.5 0 0 0 3.5 15h10a1.5 1.5 0 0 0 1.5-1.5v-12A1.5 1.5 0 0 0 13.5 0zm-2 4a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5z"
|
|
clipRule="evenodd"
|
|
/>
|
|
</svg>
|
|
);
|
|
export const WordIcon = ({
|
|
size,
|
|
height = 24,
|
|
width = 24,
|
|
fill = "currentColor",
|
|
...props
|
|
}: IconSvgProps) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={size || width}
|
|
height={size || height}
|
|
{...props}
|
|
viewBox="0 0 15 15"
|
|
>
|
|
<path
|
|
fill="currentColor"
|
|
d="m2.015 5.621l1 4a.5.5 0 0 0 .901.156l.584-.876l.584.876a.5.5 0 0 0 .901-.156l1-4l-.97-.242l-.726 2.903l-.373-.56a.5.5 0 0 0-.832 0l-.373.56l-.726-2.903z"
|
|
/>
|
|
<path
|
|
fill="currentColor"
|
|
fillRule="evenodd"
|
|
d="M3.5 0A1.5 1.5 0 0 0 2 1.5V3h-.5A1.5 1.5 0 0 0 0 4.5v6A1.5 1.5 0 0 0 1.5 12H2v1.5A1.5 1.5 0 0 0 3.5 15h10a1.5 1.5 0 0 0 1.5-1.5v-12A1.5 1.5 0 0 0 13.5 0zm-2 4a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5z"
|
|
clipRule="evenodd"
|
|
/>
|
|
</svg>
|
|
);
|
|
|
|
export const PptIcon = ({
|
|
size,
|
|
height = 24,
|
|
width = 24,
|
|
fill = "currentColor",
|
|
...props
|
|
}: IconSvgProps) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={size || width}
|
|
height={size || height}
|
|
{...props}
|
|
viewBox="0 0 15 15"
|
|
>
|
|
<path
|
|
fill="currentColor"
|
|
d="M3 8h.5a.5.5 0 0 0 0-1H3zm4 0h.5a.5.5 0 0 0 0-1H7z"
|
|
/>
|
|
<path
|
|
fill="currentColor"
|
|
fillRule="evenodd"
|
|
d="M1 1.5A1.5 1.5 0 0 1 2.5 0h8.207L14 3.293V13.5a1.5 1.5 0 0 1-1.5 1.5h-10A1.5 1.5 0 0 1 1 13.5zM2 6h1.5a1.5 1.5 0 1 1 0 3H3v2H2zm4 0h1.5a1.5 1.5 0 1 1 0 3H7v2H6zm5 5h1V7h1V6h-3v1h1z"
|
|
clipRule="evenodd"
|
|
/>
|
|
</svg>
|
|
);
|
|
export const FileIcon = ({
|
|
size,
|
|
height = 24,
|
|
width = 24,
|
|
fill = "currentColor",
|
|
...props
|
|
}: IconSvgProps) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={size || width}
|
|
height={size || height}
|
|
{...props}
|
|
viewBox="0 0 15 15"
|
|
>
|
|
<path
|
|
fill="currentColor"
|
|
d="m10.5.5l.354-.354L10.707 0H10.5zm3 3h.5v-.207l-.146-.147zm-1 10.5h-10v1h10zM2 13.5v-12H1v12zM2.5 1h8V0h-8zM13 3.5v10h1v-10zM10.146.854l3 3l.708-.708l-3-3zM2.5 14a.5.5 0 0 1-.5-.5H1A1.5 1.5 0 0 0 2.5 15zm10 1a1.5 1.5 0 0 0 1.5-1.5h-1a.5.5 0 0 1-.5.5zM2 1.5a.5.5 0 0 1 .5-.5V0A1.5 1.5 0 0 0 1 1.5z"
|
|
/>
|
|
</svg>
|
|
);
|