Files
NapCatQQ/.pnpm-store/v3/files/d8/31edd82a3c4f8f69c7ba5a19610633f1e639561840293da2595ab9ee648d334ad89da534f257e65e6bf355b02ba8ec6ec82bc923bbe5119ed569f62244262b
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

62 lines
2.3 KiB
Plaintext

var $ablJS$react = require("react");
function $parcel$interopDefault(a) {
return a && a.__esModule ? a.default : a;
}
function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
$parcel$export(module.exports, "TableBody", () => $6ec527db6a3a5692$export$76ccd210b9029917);
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
function $6ec527db6a3a5692$var$TableBody(props) {
return null;
}
$6ec527db6a3a5692$var$TableBody.getCollectionNode = function* getCollectionNode(props) {
let { children: children, items: items } = props;
yield {
type: 'body',
hasChildNodes: true,
props: props,
*childNodes () {
if (typeof children === 'function') {
if (!items) throw new Error('props.children was a function but props.items is missing');
for (let item of items)yield {
type: 'item',
value: item,
renderer: children
};
} else {
let items = [];
(0, ($parcel$interopDefault($ablJS$react))).Children.forEach(children, (item)=>{
items.push({
type: 'item',
element: item
});
});
yield* items;
}
}
};
};
/**
* A TableBody is a container for the Row elements of a Table. Rows can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `items` prop.
*/ // We don't want getCollectionNode to show up in the type definition
let $6ec527db6a3a5692$export$76ccd210b9029917 = $6ec527db6a3a5692$var$TableBody;
//# sourceMappingURL=TableBody.main.js.map