@pronto-tools-and-more/components 10.4.0 → 10.6.0
Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.js
CHANGED
@@ -188,12 +188,13 @@ var Button = ({
|
|
188
188
|
|
189
189
|
// src/parts/CategoryList/CategoryList.tsx
|
190
190
|
var CategoryList = ({
|
191
|
-
render
|
191
|
+
render,
|
192
|
+
contentKey
|
192
193
|
}) => {
|
193
194
|
const json = {
|
194
195
|
render,
|
195
196
|
dataSource: {
|
196
|
-
data: "
|
197
|
+
data: `$context.${contentKey ?? "content"}.taxonomies`,
|
197
198
|
type: "context",
|
198
199
|
batchSize: 1e6
|
199
200
|
},
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { CategoryListItemRenderer } from "../CategoryListItemRenderer/CategoryListItemRenderer.ts";
|
2
|
-
export declare const CategoryList: ({ render, }: {
|
2
|
+
export declare const CategoryList: ({ render, contentKey, }: {
|
3
3
|
render: CategoryListItemRenderer;
|
4
|
+
contentKey?: string;
|
4
5
|
}) => import("react").JSX.Element;
|