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

40 lines
1.4 KiB
TypeScript
Raw Normal View History

// Module ID: 5690
// Function ID: 5691
2026-07-20 16:05:17 +00:00
// Name: TableRowDivider
// Dependencies: [19, 17, 5691, 21, 4640, 576, 4341, 2]
2026-07-20 16:05:17 +00:00
// Exports: TableRowDivider
// Module 5690 (TableRowDivider)
import nativeDefault from "native" /* 576 */;
import useToken from "useToken" /* 4341 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
require = fn;
const View = fn(17).View;
const TABLE_DIVIDER_WIDTH = fn(5691).TABLE_DIVIDER_WIDTH;
const jsx = fn(21).jsx;
const createStyles = fn(4640);
let closure_6 = createStyles.createStyles((arg0, arg1) => {
const 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
}
const obj2 = { container: obj, divider: { height: TABLE_DIVIDER_WIDTH, backgroundColor: nativeDefault.colors.BORDER_SUBTLE } };
obj.paddingStart = num;
obj.marginTop = -TABLE_DIVIDER_WIDTH;
return obj2;
2026-07-20 16:05:17 +00:00
});
const size = fn(2);
const result = size.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;
}
const tmp = closure_6(flag, useToken.useToken(nativeDefault.modules.mobile.TABLE_ROW_DIVIDER_PADDING));
const obj2 = { style: tmp.container, children: <View style={tmp.divider} /> };
return <View style={tmp.container}><View style={tmp.divider} /></View>;
2026-07-20 16:05:17 +00:00
};