240 lines
8.3 KiB
TypeScript
240 lines
8.3 KiB
TypeScript
import type { JSX, SVGProps } from 'react'
|
|
|
|
export const BoldIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={20}
|
|
height={20}
|
|
viewBox="0 0 20 20"
|
|
fill="currentColor"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M11.4062 15.625H5.625V4.375H10.9375C11.5639 4.37504 12.1771 4.55435 12.7048 4.89174C13.2325 5.22914 13.6526 5.71052 13.9155 6.27903C14.1784 6.84754 14.2731 7.47942 14.1884 8.10001C14.1037 8.72061 13.8431 9.30399 13.4375 9.78125C13.9673 10.205 14.3528 10.7825 14.5408 11.4344C14.7289 12.0862 14.7102 12.7803 14.4875 13.4211C14.2647 14.0619 13.8488 14.6179 13.297 15.0126C12.7452 15.4073 12.0847 15.6213 11.4062 15.625ZM7.5 13.75H11.3937C11.5784 13.75 11.7613 13.7136 11.9319 13.643C12.1025 13.5723 12.2575 13.4687 12.3881 13.3381C12.5187 13.2075 12.6223 13.0525 12.693 12.8819C12.7636 12.7113 12.8 12.5284 12.8 12.3438C12.8 12.1591 12.7636 11.9762 12.693 11.8056C12.6223 11.635 12.5187 11.48 12.3881 11.3494C12.2575 11.2188 12.1025 11.1152 11.9319 11.0445C11.7613 10.9739 11.5784 10.9375 11.3937 10.9375H7.5V13.75ZM7.5 9.0625H10.9375C11.1222 9.0625 11.305 9.02613 11.4756 8.95546C11.6463 8.88478 11.8013 8.7812 11.9319 8.65062C12.0625 8.52004 12.166 8.36501 12.2367 8.1944C12.3074 8.02378 12.3438 7.84092 12.3438 7.65625C12.3438 7.47158 12.3074 7.28872 12.2367 7.1181C12.166 6.94749 12.0625 6.79246 11.9319 6.66188C11.8013 6.5313 11.6463 6.42772 11.4756 6.35704C11.305 6.28637 11.1222 6.25 10.9375 6.25H7.5V9.0625Z"
|
|
fill="currentColor"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
|
|
export const ItalicIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M19.625 9.625v-1.25H11.5v1.25h3.213l-2.732 8.75H8.375v1.25H16.5v-1.25h-3.213l2.732-8.75h3.606z"
|
|
fill="currentColor"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const UnderlineIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M6.5 20.25h15v1.25h-15v-1.25zm7.5-1.875A4.375 4.375 0 019.625 14V7.125h1.25V14a3.125 3.125 0 106.25 0V7.125h1.25V14A4.375 4.375 0 0114 18.375z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const UndoIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M16.5 10.25H8.884l2.242-2.241-.876-.884-3.75 3.75 3.75 3.75.876-.884-2.24-2.241H16.5a3.75 3.75 0 010 7.5h-5v1.25h5a5 5 0 100-10z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const RedoIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M11.5 10.25h7.616l-2.242-2.241.876-.884 3.75 3.75-3.75 3.75-.876-.884 2.24-2.241H11.5a3.75 3.75 0 000 7.5h5v1.25h-5a5 5 0 010-10z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const ListIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M8.375 11.5a1.875 1.875 0 100-3.75 1.875 1.875 0 000 3.75zM8.375 20.25a1.875 1.875 0 100-3.75 1.875 1.875 0 000 3.75zM14 17.75h8.75V19H14v-1.25zM14 9h8.75v1.25H14V9z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const ListOrderIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M14 17.75h8.75V19H14v-1.25zM14 9h8.75v1.25H14V9zm-5 2.5v-5H7.75v.625H6.5v1.25h1.25V11.5H6.5v1.25h3.75V11.5H9zm1.25 10H6.5V19a1.25 1.25 0 011.25-1.25H9V16.5H6.5v-1.25H9a1.25 1.25 0 011.25 1.25v1.25A1.25 1.25 0 019 19H7.75v1.25h2.5v1.25z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const LinkIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M22.281 8.225a3.75 3.75 0 00-5.312 0l.887.888a2.506 2.506 0 113.544 3.543l-5 5a2.504 2.504 0 01-3.544-3.537l.882-.888-.882-.887-.887.887a3.75 3.75 0 000 5.313 3.75 3.75 0 002.656 1.081 3.75 3.75 0 002.669-1.1l5-5a3.75 3.75 0 00-.013-5.3z"
|
|
fill="#212529"
|
|
/>
|
|
<path
|
|
d="M6.619 19.512a2.5 2.5 0 010-3.543l5-5a2.5 2.5 0 013.543 0 2.462 2.462 0 01.713 1.781 2.5 2.5 0 01-.731 1.781l-1.325 1.344.887.887 1.325-1.325a3.76 3.76 0 10-5.318-5.318l-5 5a3.75 3.75 0 000 5.319A3.75 3.75 0 008.375 21.5a3.794 3.794 0 002.675-1.1l-.888-.887a2.5 2.5 0 01-3.543 0z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const ImageIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M15.875 12.75a1.875 1.875 0 100-3.75 1.875 1.875 0 000 3.75zm0-2.5a.625.625 0 110 1.25.625.625 0 010-1.25z"
|
|
fill="#212529"
|
|
/>
|
|
<path
|
|
d="M20.25 6.5H7.75A1.25 1.25 0 006.5 7.75v12.5a1.25 1.25 0 001.25 1.25h12.5a1.25 1.25 0 001.25-1.25V7.75a1.25 1.25 0 00-1.25-1.25zm0 13.75H7.75V16.5l3.125-3.125 3.494 3.494a1.25 1.25 0 001.762 0l.994-.994L20.25 19v1.25zm0-3.019l-2.244-2.244a1.25 1.25 0 00-1.762 0l-.994.994-3.494-3.493a1.25 1.25 0 00-1.762 0L7.75 14.73V7.75h12.5v9.481z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const CodeIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M23.375 14L19 18.375l-.881-.881L21.606 14l-3.487-3.494.881-.881L23.375 14zm-18.75 0L9 9.625l.881.881L6.394 14l3.487 3.494-.881.881L4.625 14zm7.137 5.927L15.025 7.75l1.208.323L12.97 20.25l-1.208-.323z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const QuoteIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M11.5 13.375H7.819a5.626 5.626 0 012.431-3.838l1.119-.75-.688-1.037-1.118.75A6.875 6.875 0 006.5 14.219v4.156a1.25 1.25 0 001.25 1.25h3.75a1.25 1.25 0 001.25-1.25v-3.75a1.25 1.25 0 00-1.25-1.25zm8.75 0h-3.681A5.625 5.625 0 0119 9.537l1.119-.75-.681-1.037-1.125.75a6.875 6.875 0 00-3.063 5.719v4.156a1.25 1.25 0 001.25 1.25h3.75a1.25 1.25 0 001.25-1.25v-3.75a1.25 1.25 0 00-1.25-1.25z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|
|
export const StrikethroughIcon = (
|
|
properties: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
|
) => {
|
|
return (
|
|
<svg
|
|
width={28}
|
|
height={28}
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...properties}
|
|
>
|
|
<path
|
|
d="M21.5 13.375h-6.277a25.033 25.033 0 00-.837-.209c-1.755-.415-2.747-.719-2.747-2.14a1.792 1.792 0 01.492-1.34 2.993 2.993 0 011.883-.681c1.769-.044 2.584.556 3.251 1.468l1.01-.737a4.67 4.67 0 00-4.27-1.981 4.233 4.233 0 00-2.75 1.038 3.015 3.015 0 00-.866 2.234 2.733 2.733 0 001.084 2.348H6.5v1.25h8.533c1.229.357 1.964.82 1.983 2.1a1.949 1.949 0 01-.54 1.495 3.64 3.64 0 01-2.324.78 4.146 4.146 0 01-3.216-1.681l-.958.802a5.328 5.328 0 004.155 2.13h.062a4.794 4.794 0 003.155-1.138 3.175 3.175 0 00.916-2.408 3.094 3.094 0 00-.72-2.08H21.5v-1.25z"
|
|
fill="#212529"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|