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

40 lines
2.1 KiB
TypeScript

/* Metro module 12733; source: design/void/WarningCircle/native/WarningCircle.tsx; dependencies: [31, 33, 7744, 2] */
function _fun97455(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97455, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12923:6, offset: 0x021820b0, 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/WarningCircle/native/WarningCircle.tsx');
exports.default = WarningCircle;
}
function WarningCircle(a0) { // fn#97456, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12923:212, offset: 0x02182133, size: 211 bytes, params: 2, frame: 21
let width = a0.width;
width = width === undefined ? 20 : width;
let height = a0.height;
height = height === undefined ? 20 : 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 20 20';
const Path = (require(7744) /* metro dependency 7744 */).Path;
return (
<Svg {...svgProps}>
<Path
d="M10 0C4.486 0 0 4.486 0 10C0 15.515 4.486 20 10 20C15.514 20 20 15.515 20 10C20 4.486 15.514 0 10 0ZM9 4H11V11H9V4ZM10 15.25C9.31 15.25 8.75 14.691 8.75 14C8.75 13.31 9.31 12.75 10 12.75C10.69 12.75 11.25 13.31 11.25 14C11.25 14.691 10.69 15.25 10 15.25Z"
fillRule="evenodd"
clipRule="evenodd"
fill={color}
/>
</Svg>
);
}