Files
aksel-mini/packages/core/icons/src/XMarkIcon.tsx
T
Aksel Mini 1bcf7f5d53 ✨ Add aksel-icons package (@navikt/aksel-icons)
Four hand-written React icon wrappers (Information, Checkmark, Warning,
XMark) with the source SVGs kept under svg/ for reference.
2026-08-12 14:20:00 +02:00

28 lines
686 B
TypeScript

import { forwardRef } from "react";
import type { SVGProps } from "react";
export const XMarkIcon = forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>(
function XMarkIcon(props, ref) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
fill="none"
focusable={false}
aria-hidden
ref={ref}
{...props}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M6.4 5 12 10.6 17.6 5 19 6.4 13.4 12l5.6 5.6-1.4 1.4L12 13.4 6.4 19 5 17.6 10.6 12 5 6.4 6.4 5Z"
fill="currentColor"
/>
</svg>
);
},
);