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

50 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 6287
// Function ID: 6288
2026-07-20 16:05:17 +00:00
// Name: TableRowDivider
2026-08-15 05:55:55 +00:00
// Dependencies: [19, 17, 6288, 21, 4661, 712, 6289, 1367, 4097, 2]
2026-07-20 16:05:17 +00:00
// Exports: TableRowDivider
2026-08-15 05:55:55 +00:00
// Module 6287 (TableRowDivider)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import { getTableDividerWidth } from "TABLE_ROW_HEIGHT";
import { jsx } from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
let closure_6 = createCacheKey.createStyles((arg0, arg1, arg2) => {
2026-07-20 16:05:17 +00:00
const tmp = getTableDividerWidth(arg1);
let num = 12;
if (arg0) {
num = arg2;
}
2026-07-25 08:10:48 +00:00
let prop;
2026-07-20 16:05:17 +00:00
if (!arg1) {
2026-07-29 08:29:29 +00:00
prop = importDefault(712).colors.TABLEROW_BACKGROUND_DEFAULT;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj = { container: obj, divider: null };
obj = { backgroundColor: prop, height: tmp, paddingStart: num, marginTop: -tmp };
obj = { height: tmp, backgroundColor: null };
2026-07-20 16:05:17 +00:00
if (arg1) {
2026-07-29 08:29:29 +00:00
let DIVIDER_BACKGROUND = importDefault(712).colors.BORDER_SUBTLE;
2026-07-20 16:05:17 +00:00
} else {
2026-08-15 05:55:55 +00:00
DIVIDER_BACKGROUND = require(6289) /* result */.DIVIDER_BACKGROUND;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[1] = DIVIDER_BACKGROUND;
obj[1] = obj;
2026-07-20 16:05:17 +00:00
return obj;
});
2026-07-23 10:11:24 +00:00
const result = require("TABLE_ROW_HEIGHT").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-15 05:55:55 +00:00
let obj = require(4097) /* map */;
2026-08-11 06:20:06 +00:00
const tmp2 = callback(flag, importDefault(1367)("TableRowDivider"), obj.useToken(importDefault(712).modules.mobile.TABLE_ROW_DIVIDER_PADDING));
2026-07-20 16:05:17 +00:00
obj = { style: tmp2.container, children: <View {...obj} /> };
obj = { style: tmp2.divider };
2026-07-23 10:11:24 +00:00
return <View style={tmp2.divider} />;
2026-07-20 16:05:17 +00:00
};