UNPKG

@sexyicons/react

Version:

React components for sexy icons: Icons speak louder than words

24 lines (21 loc) 2.39 kB
import React from 'react'; import { withSVG } from '../helpers/withSVG.js'; const ChevronRight = ({ color = "currentColor", set = "line", }) => { const Line = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.34921 4.24075C7.92989 4.60017 7.88132 5.23147 8.24075 5.65079L13.6829 12L8.24075 18.3492C7.88132 18.7685 7.92989 19.3998 8.34921 19.7593C8.76854 20.1187 9.39984 20.0701 9.75926 19.6508L15.7593 12.6508C16.0803 12.2763 16.0803 11.7237 15.7593 11.3492L9.75926 4.34921C9.39984 3.92989 8.76854 3.88132 8.34921 4.24075Z", fill: color })); const Solid = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.34923 4.24075C7.9299 4.60017 7.88134 5.23147 8.24076 5.65079L13.6829 12L8.24076 18.3492C7.88134 18.7685 7.9299 19.3998 8.34923 19.7593C8.76855 20.1187 9.39985 20.0701 9.75927 19.6508L15.7593 12.6508C16.0803 12.2763 16.0803 11.7237 15.7593 11.3492L9.75927 4.34921C9.39985 3.92989 8.76855 3.88132 8.34923 4.24075Z", fill: color })); const Lineal = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.34923 4.24075C7.9299 4.60017 7.88134 5.23147 8.24076 5.65079L13.6829 12L8.24076 18.3492C7.88134 18.7685 7.9299 19.3998 8.34923 19.7593C8.76855 20.1187 9.39985 20.0701 9.75927 19.6508L15.7593 12.6508C16.0803 12.2763 16.0803 11.7237 15.7593 11.3492L9.75927 4.34921C9.39985 3.92989 8.76855 3.88132 8.34923 4.24075Z", fill: color })); const Bulk = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.29289 6.29289C9.68342 5.90237 10.3166 5.90237 10.7071 6.29289L15.7071 11.2929C16.0976 11.6834 16.0976 12.3166 15.7071 12.7071L10.7071 17.7071C10.3166 18.0976 9.68342 18.0976 9.29289 17.7071C8.90237 17.3166 8.90237 16.6834 9.29289 16.2929L13.5858 12L9.29289 7.70711C8.90237 7.31658 8.90237 6.68342 9.29289 6.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 ChevronRight$1 = withSVG(ChevronRight); export { ChevronRight, ChevronRight$1 as default }; //# sourceMappingURL=ChevronRight.js.map