UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

22 lines (19 loc) 1.32 kB
import React from 'react'; import camelize from '../../utils/camelize.js'; import 'lodash.throttle'; import cx from 'classnames'; const iconSource = "arrowLeftCircleFilled"; const ArrowLeftCircleFilledIcon = ({ color, size = 24, contained = false, className, }) => { const computedClassName = cx(className, `cobalt-Icon cobalt-Icon--${iconSource}`, { [`c-fill-${camelize(color || "")}`]: color, "cobalt-Icon--size16": size === 16, "cobalt-Icon--size20": size === 20, "cobalt-Icon--size32": size === 32, "cobalt-Icon--contained": contained, }); const wrap = (content) => (React.createElement("span", { className: computedClassName }, content)); return wrap(React.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10Zm4.975-9.15H9.048l2.373 2.71c.294.339.252.904-.084 1.21-.341.313-.91.265-1.212-.084l-3.616-4.131c-.276-.368-.272-.792-.002-1.125l.002-.002 3.616-4.132a.858.858 0 0 1 1.21-.085c.342.296.382.87.086 1.211l-2.373 2.711h7.927a.858.858 0 0 1 0 1.716Z" }))); }; export { ArrowLeftCircleFilledIcon as default }; //# sourceMappingURL=ArrowLeftCircleFilledIcon.js.map