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 = "arrowRightCircleFilled"; const ArrowRightCircleFilledIcon = ({ 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 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm-4.975-9.15h7.928l-2.373 2.71c-.295.339-.253.904.083 1.21.341.313.91.265 1.212-.084l3.616-4.131c.276-.368.271-.792.002-1.125l-.002-.002-3.616-4.132a.858.858 0 0 0-1.21-.085.889.889 0 0 0-.086 1.211l2.373 2.711H7.026a.858.858 0 1 0 0 1.716Z" }))); }; export { ArrowRightCircleFilledIcon as default }; //# sourceMappingURL=ArrowRightCircleFilledIcon.js.map