decord/source/design/components/TableRow/native/TableRowDivider.native.tsx

43 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-09-03 10:05:34 +00:00
// Module ID: 5566
// Function ID: 5567
2026-07-20 16:05:17 +00:00
// Name: TableRowDivider
2026-09-03 10:05:34 +00:00
// Dependencies: [19, 17, 5567, 21, 4478, 709, 4197, 2]
2026-07-20 16:05:17 +00:00
// Exports: TableRowDivider
2026-09-03 10:05:34 +00:00
// Module 5566 (TableRowDivider)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
2026-09-02 09:53:35 +00:00
import ThemesDefault from "Themes" /* 709 */;
2026-09-01 10:26:29 +00:00
import map from "map" /* 4197 */;
2026-08-24 06:08:38 +00:00
import { View } from "get ActivityIndicator" /* 17 */;
2026-09-03 10:05:34 +00:00
import { TABLE_DIVIDER_WIDTH } from "TABLE_ROW_HEIGHT" /* 5567 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-09-01 10:26:29 +00:00
import createCacheKey from "createCacheKey" /* 4478 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-08-31 15:47:37 +00:00
let closure_6 = createCacheKey.createStyles((arg0, arg1) => {
let obj = { height: TABLE_DIVIDER_WIDTH, paddingStart: null, marginTop: null };
2026-07-20 16:05:17 +00:00
let num = 12;
if (arg0) {
2026-08-31 15:47:37 +00:00
num = arg1;
2026-07-20 16:05:17 +00:00
}
2026-08-31 15:47:37 +00:00
obj = { container: obj, divider: num };
obj[2] = -TABLE_DIVIDER_WIDTH;
obj = { height: tmp, backgroundColor: ThemesDefault.colors.BORDER_SUBTLE };
2026-07-29 08:29:29 +00:00
obj[1] = obj;
2026-07-20 16:05:17 +00:00
return obj;
});
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("design/components/TableRow/native/TableRowDivider.native.tsx");
2026-07-20 16:05:17 +00:00
export const TableRowDivider = function TableRowDivider(adjustSpacingForIcon) {
let flag = adjustSpacingForIcon.adjustSpacingForIcon;
if (flag === undefined) {
flag = false;
}
2026-08-24 06:08:38 +00:00
let obj = map;
2026-08-31 15:47:37 +00:00
const tmp = callback(flag, obj.useToken(ThemesDefault.modules.mobile.TABLE_ROW_DIVIDER_PADDING));
obj = { style: tmp.container, children: <View {...obj} /> };
obj = { style: tmp.divider };
return <View style={tmp.divider} />;
2026-07-20 16:05:17 +00:00
};