var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
import { jsx as _jsx } from "react/jsx-runtime";
// DO NOT EDIT IT MANUALLY
import * as React from 'react';
const SvgClose = React.forwardRef((_a, ref) => {
    var { size = 24 } = _a, props = __rest(_a, ["size"]);
    props.width = undefined;
    props.height = undefined;
    const testId = 'icon-close';
    const style = {};
    const isCustomSize = typeof size === 'number';
    if (isCustomSize) {
        style.width = size + 'px';
        style.height = size + 'px';
        if (!props.style)
            props.style = {};
        props.style.width = size + 'px';
        props.style.height = size + 'px';
    }
    return (_jsx("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 24, fill: 'currentColor', viewBox: '0 0 24 24', "data-test-id": testId, ref: ref }, props, { children: _jsx("path", { fill: 'inherit', fillRule: 'evenodd', d: 'm5.98 6-.519.52L8.2 9.26 10.94 12l-2.73 2.73-2.73 2.73.53.53.53.53 2.73-2.73L12 13.06l2.73 2.73 2.73 2.73.53-.53.53-.53-2.73-2.73L13.06 12l2.74-2.74 2.74-2.74-.53-.53-.53-.53-2.74 2.74L12 10.94 9.27 8.21C7.768 6.708 6.531 5.48 6.519 5.48c-.011 0-.254.234-.539.52' }) })));
});
export default SvgClose;
