39 lines
1.4 KiB
TypeScript
39 lines
1.4 KiB
TypeScript
// Module ID: 9658
|
|
// Function ID: 9659
|
|
// Dependencies: [19, 4372, 21, 589, 4815, 7849, 712, 2]
|
|
|
|
// Module 9658
|
|
import initialize from "initialize" /* 589 */;
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
import Button from "Button" /* 4815 */;
|
|
import NitroWheelIcon from "NitroWheelIcon" /* 7849 */;
|
|
import closure_3 from "maybeApplyNoTextColorForLightCustomTheme" /* 4372 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
import importAllResult from "noop" /* 19 */;
|
|
|
|
require = arg1;
|
|
const memoResult = importAllResult.memo(function NitroUpsellButton(shiny) {
|
|
let flag = shiny.shiny;
|
|
({ loading, onPress, text } = shiny);
|
|
if (flag === undefined) {
|
|
flag = true;
|
|
}
|
|
let str = shiny.size;
|
|
if (str === undefined) {
|
|
str = "lg";
|
|
}
|
|
let obj = initialize;
|
|
const items = [closure_3];
|
|
const stateFromStores = obj.useStateFromStores(items, () => useReducedMotion.useReducedMotion);
|
|
obj = { text, size: str, loading, onPress, icon: null, variant: "experimental_premium-primary", shiny: null };
|
|
obj = { color: ThemesDefault.colors.WHITE, size: "sm" };
|
|
obj[4] = jsx(NitroWheelIcon.NitroWheelIcon, { color: ThemesDefault.colors.WHITE, size: "sm" });
|
|
if (flag) {
|
|
flag = !stateFromStores;
|
|
}
|
|
obj[6] = flag;
|
|
return jsx(Button.Button, { color: ThemesDefault.colors.WHITE, size: "sm" });
|
|
});
|
|
const result = require("set").fileFinishedImporting("modules/premium/components/native/NitroUpsellButton.tsx");
|
|
|
|
export default memoResult;
|