Files
NapCatQQ/.pnpm-store/v3/files/95/6a555ddb567fc9094fe734a09303fc68af24ae4afe609b829c14902accd92477f9ae0551350bc8c05c70a9a76fc3df136ae5d8b18ff33410a9b42135719941
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

57 lines
2.2 KiB
Plaintext

var $kcTb5$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, "TableHeader", () => $f45775f5d6f744fa$export$f850895b287ef28e);
/*
* 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 $f45775f5d6f744fa$var$TableHeader(props) {
return null;
}
$f45775f5d6f744fa$var$TableHeader.getCollectionNode = function* getCollectionNode(props, context) {
let { children: children, columns: columns } = props;
// Clear columns so they aren't double added in strict mode.
context.columns = [];
if (typeof children === 'function') {
if (!columns) throw new Error('props.children was a function but props.columns is missing');
for (let column of columns)yield {
type: 'column',
value: column,
renderer: children
};
} else {
let columns = [];
(0, ($parcel$interopDefault($kcTb5$react))).Children.forEach(children, (column)=>{
columns.push({
type: 'column',
element: column
});
});
yield* columns;
}
};
/**
* A TableHeader is a container for the Column elements in a Table. Columns can be statically defined
* as children, or generated dynamically using a function based on the data passed to the `columns` prop.
*/ // We don't want getCollectionNode to show up in the type definition
let $f45775f5d6f744fa$export$f850895b287ef28e = $f45775f5d6f744fa$var$TableHeader;
//# sourceMappingURL=TableHeader.main.js.map