decord/source/modules/markup/Timestamp.native.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

40 lines
1.2 KiB
TypeScript

// Module ID: 10129
// Function ID: 10130
// Name: Timestamp
// Dependencies: [19, 21, 4560, 576, 10130, 1178, 4259, 2]
// Exports: default
// Module 10129 (Timestamp)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 576 */;
import itemsDefault from "items" /* 10130 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
const require = arg1;
noopAll;
createCacheKey = { timestamp: null };
createCacheKey = { color: ThemesDefault.colors.TEXT_DEFAULT, backgroundColor: ThemesDefault.colors.BORDER_SUBTLE };
createCacheKey[0] = createCacheKey;
let closure_4 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/markup/Timestamp.native.tsx");
export default function Timestamp(node) {
node = node.node;
const tmp = callback();
let style = tmp.timestamp;
if (style == null) {
style = node.style;
}
const tmp2 = itemsDefault(node);
const tmp3 = jsx;
return tmp3(node(1178).LegacyText, {
style,
onPress() {
let obj = closure_1_1(closure_1_2[6]);
obj = { key: "TIMESTAMP", content: node.full };
obj.open(obj);
},
children: itemsDefault(node)
});
};