decord/source/modules/markup/Timestamp.native.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

37 lines
1.2 KiB
TypeScript

// Module ID: 10199
// Function ID: 10200
// Name: Timestamp
// Dependencies: [19, 21, 4605, 576, 10200, 1178, 4303, 2]
// Exports: default
// Module 10199 (Timestamp)
import nativeDefault from "native" /* 576 */;
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4303 */;
import useFormattedTimestampDefault from "useFormattedTimestamp" /* 10200 */;
import noop from "module_19" /* 19 */;
const require = fn;
const jsx = fn(21).jsx;
const createStyles = fn(4605);
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(1178).LegacyText, {
style,
onPress() {
ToastActionCreatorsDefault.open({ key: "TIMESTAMP", content: node.full });
},
children: useFormattedTimestampDefault(node)
});
};