Files
discord-decomp/sources/design/void/CloseIcon/native/CloseIcon.tsx
T
2026-07-27 16:20:00 +03:00

38 lines
1.8 KiB
TypeScript

/* Metro module 12720; source: design/void/CloseIcon/native/CloseIcon.tsx; dependencies: [31, 33, 7744, 2] */
function _fun97395(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97395, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12910:6, offset: 0x0217ed24, size: 131 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_2 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/void/CloseIcon/native/CloseIcon.tsx');
exports.default = Close;
}
function Close(a0) { // fn#97396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12910:204, offset: 0x0217eda7, size: 209 bytes, params: 2, frame: 21
let width = a0.width;
width = width === undefined ? 24 : width;
let height = a0.height;
height = height === undefined ? 24 : height;
let color = a0.color;
color = color === undefined ? 'currentColor' : color;
const object2 = {'width': 0, 'height': 0, 'color': 0};
silentSetPrototypeOf(object2, null, undefined);
const value = copyDataProperties({}, a0, object2, width);
const Svg = (require(7744) /* metro dependency 7744 */).Svg;
const svgProps = {...value};
svgProps['width'] = width;
svgProps['height'] = height;
svgProps['viewBox'] = '0 0 24 24';
const Path = (require(7744) /* metro dependency 7744 */).Path;
return (
<Svg {...svgProps}>
<Path
fill={color}
d="M18.4 4L12 10.4L5.6 4L4 5.6L10.4 12L4 18.4L5.6 20L12 13.6L18.4 20L20 18.4L13.6 12L20 5.6L18.4 4Z"
/>
</Svg>
);
}