UNPKG

@sexyicons/react

Version:

React components for sexy icons: Icons speak louder than words

24 lines (21 loc) 2.37 kB
import React from 'react'; import { withSVG } from '../helpers/withSVG.js'; const ChevronUp = ({ color = "currentColor", set = "line", }) => { const Line = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.24076 15.6508C4.60018 16.0701 5.23148 16.1187 5.65081 15.7593L12 10.3171L18.3492 15.7593C18.7686 16.1187 19.3999 16.0701 19.7593 15.6508C20.1187 15.2315 20.0701 14.6002 19.6508 14.2407L12.6508 8.24074C12.2763 7.91975 11.7237 7.91975 11.3492 8.24074L4.34923 14.2407C3.9299 14.6002 3.88134 15.2315 4.24076 15.6508Z", fill: color })); const Solid = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.24076 15.6508C4.60018 16.0701 5.23148 16.1187 5.65081 15.7593L12 10.3171L18.3492 15.7593C18.7686 16.1187 19.3999 16.0701 19.7593 15.6508C20.1187 15.2315 20.0701 14.6002 19.6508 14.2407L12.6508 8.24074C12.2763 7.91975 11.7237 7.91975 11.3492 8.24074L4.34923 14.2407C3.9299 14.6002 3.88134 15.2315 4.24076 15.6508Z", fill: color })); const Lineal = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.24076 15.6508C4.60018 16.0701 5.23148 16.1187 5.65081 15.7593L12 10.3171L18.3492 15.7593C18.7686 16.1187 19.3999 16.0701 19.7593 15.6508C20.1187 15.2315 20.0701 14.6002 19.6508 14.2407L12.6508 8.24074C12.2763 7.91975 11.7237 7.91975 11.3492 8.24074L4.34923 14.2407C3.9299 14.6002 3.88134 15.2315 4.24076 15.6508Z", fill: color })); const Bulk = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L17.7071 13.2929C18.0976 13.6834 18.0976 14.3166 17.7071 14.7071C17.3166 15.0976 16.6834 15.0976 16.2929 14.7071L12 10.4142L7.70711 14.7071C7.31658 15.0976 6.68342 15.0976 6.29289 14.7071C5.90237 14.3166 5.90237 13.6834 6.29289 13.2929L11.2929 8.29289Z", fill: color })); switch (set) { case "solid": return React.createElement(Solid, null); case "lineal": return React.createElement(Lineal, null); case "bulk": return React.createElement(Bulk, null); default: return React.createElement(Line, null); } }; var ChevronUp$1 = withSVG(ChevronUp); export { ChevronUp, ChevronUp$1 as default }; //# sourceMappingURL=ChevronUp.js.map