decord/stable/source/modules/markup/Timestamp.native.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

37 lines
1.2 KiB
TypeScript

// Module ID: 10424
// Function ID: 10425
// Name: Timestamp
// Dependencies: [19, 21, 4788, 576, 10425, 1177, 4486, 2]
// Exports: default
// Module 10424 (Timestamp)
import nativeDefault from "native" /* 576 */;
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4486 */;
import useFormattedTimestampDefault from "useFormattedTimestamp" /* 10425 */;
import noop from "module_19" /* 19 */;
const require = fn;
const jsx = fn(21).jsx;
const createStyles = fn(4788);
const obj2 = { timestamp: { color: nativeDefault.colors.TEXT_DEFAULT, backgroundColor: nativeDefault.colors.BORDER_SUBTLE } };
let closure_4 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/markup/Timestamp.native.tsx");
export default function Timestamp(node) {
node = node.node;
const tmp = closure_4();
let style = tmp.timestamp;
if (style == null) {
style = node.style;
}
const tmp2 = useFormattedTimestampDefault(node);
const tmp3 = jsx;
return tmp3(node(1177).LegacyText, {
style,
onPress() {
ToastActionCreatorsDefault.open({ key: "TIMESTAMP", content: node.full });
},
children: useFormattedTimestampDefault(node)
});
};