// Module ID: 10265 // Function ID: 10266 // Name: ModalActionButton // Dependencies: [19, 17, 21, 4303, 4714, 2] // Exports: ModalActionButton // Module 10265 (ModalActionButton) import "noop"; import { View } from "get ActivityIndicator"; import jsxProd from "jsxProd"; import createCacheKey from "createCacheKey"; let c3; let c4; let c5; const require = arg1; ({ jsx: c3, Fragment: c4, jsxs: c5 } = jsxProd); let closure_6 = createCacheKey.createStyles({ spacer: { marginTop: 12 } }); const result = require("jsxProd").fileFinishedImporting("design/components/Modal/native/ModalActionButton.native.tsx"); export const ModalActionButton = function ModalActionButton(variant) { variant = variant.variant; const merged = Object.assign(variant, Object.create(null)); let tmp5 = "secondary" === variant; if (tmp5) { let obj = { style: null }; obj[0] = tmp2.spacer; tmp5 = callback(View, obj); } obj = { children: null }; const items = [tmp5, ]; obj = {}; const merged1 = Object.assign(merged); obj.variant = variant; obj.size = "lg"; items[1] = callback(require(4714) /* Button */.Button, obj); obj[0] = items; return closure_5(closure_4, obj); };