40 lines
1.2 KiB
JavaScript
40 lines
1.2 KiB
JavaScript
// Module ID: 6325
|
|
// Function ID: 50361
|
|
// Name: NitroGradientBackgroundAbstractUI
|
|
// Dependencies: [0, 0, 0, 4294967295]
|
|
// Exports: NitroGradientBackgroundAbstractUI
|
|
|
|
// Module 6325 (NitroGradientBackgroundAbstractUI)
|
|
import { jsx } from "result";
|
|
|
|
const _module = require(dependencyMap[3]);
|
|
const result = _module.fileFinishedImporting("design/components/mana-assets/native/generated/NitroGradientBackgroundAbstractUI.native.tsx");
|
|
|
|
export const NitroGradientBackgroundAbstractUI = function NitroGradientBackgroundAbstractUI(width) {
|
|
let accessibilityLabel;
|
|
let accessible;
|
|
let resizeMode;
|
|
let num = width.width;
|
|
({ accessible, accessibilityLabel, resizeMode } = width);
|
|
if (num === undefined) {
|
|
num = 64;
|
|
}
|
|
let num2 = width.height;
|
|
if (num2 === undefined) {
|
|
num2 = 64;
|
|
}
|
|
let num3 = width.scale;
|
|
if (num3 === undefined) {
|
|
num3 = 1;
|
|
}
|
|
let obj = { fadeDuration: 0 };
|
|
obj = { uri: importDefault(dependencyMap[2]) };
|
|
obj.source = obj;
|
|
obj = { width: num * num3, height: num2 * num3 };
|
|
const items = [obj];
|
|
obj.style = items;
|
|
obj.accessible = accessible;
|
|
obj.accessibilityLabel = accessibilityLabel;
|
|
obj.resizeMode = resizeMode;
|
|
return jsx(importDefault(dependencyMap[1]), obj);
|
|
};
|