@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.
13 lines • 402 B
JavaScript
import * as React from "react";
import cx from "clsx";
import { TYPES } from "../../consts";
const Edge = ({
type,
d
}) => {
return /*#__PURE__*/React.createElement("path", {
className: cx(type === TYPES.LEGROOM && "fill-blue-light-active", type === TYPES.DEFAULT && "fill-product-light-active", type === TYPES.UNAVAILABLE && "fill-cloud-light-active"),
d: d
});
};
export default Edge;