decord/source/modules/premium/components/native/NitroUpsellButton.tsx

40 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 9535
// Function ID: 9536
// Dependencies: [19, 4669, 21, 589, 4750, 8027, 712, 2]
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
// Module 9535
import initialize from "initialize" /* 589 */;
import ThemesDefault from "Themes" /* 712 */;
import Button from "Button" /* 4750 */;
import NitroWheelIcon from "NitroWheelIcon" /* 8027 */;
import closure_3 from "maybeApplyNoTextColorForLightCustomTheme" /* 4669 */;
import { jsx } from "jsxProd" /* 21 */;
import importAllResult from "noop" /* 19 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
const memoResult = importAllResult.memo(function NitroUpsellButton(shiny) {
2026-07-23 10:11:24 +00:00
let flag = shiny.shiny;
({ loading, onPress, text } = shiny);
if (flag === undefined) {
flag = true;
}
2026-08-05 07:35:12 +00:00
let str = shiny.size;
if (str === undefined) {
str = "lg";
}
2026-08-24 06:08:38 +00:00
let obj = initialize;
const items = [closure_3];
2026-07-29 08:29:29 +00:00
const stateFromStores = obj.useStateFromStores(items, () => useReducedMotion.useReducedMotion);
2026-08-05 07:35:12 +00:00
obj = { text, size: str, loading, onPress, icon: null, variant: "experimental_premium-primary", shiny: null };
2026-08-24 06:08:38 +00:00
obj = { color: ThemesDefault.colors.WHITE, size: "sm" };
obj[4] = jsx(NitroWheelIcon.NitroWheelIcon, { color: ThemesDefault.colors.WHITE, size: "sm" });
2026-07-23 10:11:24 +00:00
if (flag) {
flag = !stateFromStores;
}
2026-07-29 08:29:29 +00:00
obj[6] = flag;
2026-08-24 06:08:38 +00:00
return jsx(Button.Button, { color: ThemesDefault.colors.WHITE, size: "sm" });
2026-07-23 10:11:24 +00:00
});
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/premium/components/native/NitroUpsellButton.tsx");
2026-07-23 10:11:24 +00:00
export default memoResult;