@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com's products.
15 lines • 839 B
JavaScript
import React from "react";
import IllustrationPrimitive from ".";
const IllustrationPrimitiveList = props => {
return /*#__PURE__*/React.createElement("div", null, props.images.map(illustration => {
return /*#__PURE__*/React.createElement("div", {
className: "bg-white-normal mb-600 rounded-150 border-cloud-normal p-600 lm:flex-row flex min-h-[80px] w-full flex-col items-center border border-solid",
key: illustration
}, /*#__PURE__*/React.createElement(IllustrationPrimitive, {
name: illustration
}), /*#__PURE__*/React.createElement("code", {
className: "border-cloud-normal mt-400 lm:mt-0 py-100 px-200 leading-small text-ink-normal bg-cloud-light border border-solid text-[12px]"
}, `<${props.nameOfComponent} name="${illustration}" />`));
}));
};
export default IllustrationPrimitiveList;