decord/source/modules/polls/native/PollCreationInputError.tsx

43 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 11391
// Function ID: 11392
2026-07-20 16:05:17 +00:00
// Name: PollCreationInputError
2026-08-15 05:55:55 +00:00
// Dependencies: [19, 17, 21, 4661, 712, 1351, 1297, 4734, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-15 05:55:55 +00:00
// Module 11391 (PollCreationInputError)
2026-07-29 08:29:29 +00:00
import noop from "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c4;
let c5;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c4, jsxs: c5 } = jsxProd);
createCacheKey = { container: { flexDirection: "row", alignItems: "center", marginTop: -10 }, icon: null };
createCacheKey = { alignSelf: "center", marginRight: 5, color: require("Themes").colors.TEXT_FEEDBACK_CRITICAL };
createCacheKey[1] = createCacheKey;
createCacheKey = createCacheKey.createStyles(createCacheKey);
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/polls/native/PollCreationInputError.tsx");
2026-07-20 16:05:17 +00:00
export default function PollCreationInputError(message) {
message = message.message;
2026-07-29 08:29:29 +00:00
const tmp = createCacheKey();
2026-07-20 16:05:17 +00:00
const items = [message];
const effect = React.useEffect(() => {
2026-07-29 08:29:29 +00:00
let tmp2 = null != message;
if (tmp2) {
tmp2 = "" !== tmp;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (tmp2) {
2026-07-23 10:11:24 +00:00
const AccessibilityAnnouncer = message(outer1_1[5]).AccessibilityAnnouncer;
2026-07-29 08:29:29 +00:00
AccessibilityAnnouncer.announce(tmp);
2026-07-20 16:05:17 +00:00
}
}, items);
2026-07-29 08:29:29 +00:00
let obj = { style: tmp.container, children: null };
2026-07-23 10:11:24 +00:00
obj = { width: 16, height: 16, style: tmp.icon };
2026-08-15 05:55:55 +00:00
const items1 = [callback(message(1297).WarningCircle, obj), callback(message(4734).Text, { variant: "text-xs/medium", color: "text-feedback-critical", children: message })];
2026-07-29 08:29:29 +00:00
obj[1] = items1;
2026-07-20 16:05:17 +00:00
return callback2(View, obj);
};