import * as React from "react";
import { ComponentViewSlot, SiteCategoryItem } from "../";
export default function componentExampleFactory(examples, componentExample, designSystem) {
    return examples[componentExample].data.map((componentExampleData, index) => {
        return (React.createElement(SiteCategoryItem, { key: index, slot: ComponentViewSlot.example, data: componentExampleData, designSystem: designSystem ? designSystem : void 0 }));
    });
}
//# sourceMappingURL=component-example-factory.js.map