38 lines
2.1 KiB
TypeScript
38 lines
2.1 KiB
TypeScript
// Module ID: 13840
|
|
// Function ID: 106095
|
|
// Name: FamilyCenterInlineWarningNotice
|
|
// Dependencies: [31, 27, 33, 4131, 689, 7570, 4127, 2]
|
|
// Exports: default
|
|
|
|
// Module 13840 (FamilyCenterInlineWarningNotice)
|
|
import "result";
|
|
import { View } from "get ActivityIndicator";
|
|
import jsxProd from "jsxProd";
|
|
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
|
|
|
|
let closure_4;
|
|
let closure_5;
|
|
const require = arg1;
|
|
({ jsx: closure_4, jsxs: closure_5 } = jsxProd);
|
|
_createForOfIteratorHelperLoose = {};
|
|
_createForOfIteratorHelperLoose = { flexDirection: "row", alignItems: "flex-start", gap: require("_createForOfIteratorHelperLoose").space.PX_8, padding: require("_createForOfIteratorHelperLoose").space.PX_12, borderWidth: 1, borderColor: require("_createForOfIteratorHelperLoose").colors.BORDER_FEEDBACK_WARNING, borderRadius: require("_createForOfIteratorHelperLoose").radii.lg, backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_FEEDBACK_WARNING };
|
|
_createForOfIteratorHelperLoose.container = _createForOfIteratorHelperLoose;
|
|
_createForOfIteratorHelperLoose.text = { flex: 1, paddingRight: require("_createForOfIteratorHelperLoose").space.PX_8 };
|
|
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
|
|
const obj1 = { flex: 1, paddingRight: require("_createForOfIteratorHelperLoose").space.PX_8 };
|
|
const result = require("jsxProd").fileFinishedImporting("modules/parent_tools/native/FamilyCenterInlineWarningNotice.tsx");
|
|
|
|
export default function FamilyCenterInlineWarningNotice(arg0) {
|
|
let style;
|
|
let text;
|
|
({ text, style } = arg0);
|
|
const tmp = _createForOfIteratorHelperLoose();
|
|
let obj = { style: items };
|
|
items = [tmp.container, style];
|
|
obj = { size: "sm", color: importDefault(689).colors.ICON_FEEDBACK_WARNING };
|
|
const items1 = [callback(require(7570) /* WarningIcon */.WarningIcon, obj), ];
|
|
obj = { variant: "text-sm/medium", color: "text-strong", style: tmp.text, children: text };
|
|
items1[1] = callback(require(4127) /* Text */.Text, obj);
|
|
obj.children = items1;
|
|
return callback2(View, obj);
|
|
};
|