UNPKG

@sexyicons/react

Version:

React components for sexy icons: Icons speak louder than words

24 lines (21 loc) 1.72 kB
import React from 'react'; import { withSVG } from '../helpers/withSVG.js'; const Attachment = ({ color = "currentColor", secondaryColor, set = "line", }) => { const Line = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7 15a5 5 0 0 0 10 0V6a1 1 0 1 1 2 0v9a7 7 0 0 1-14 0V7a5 5 0 0 1 10 0v8.172a3 3 0 0 1-6 0V7a1 1 0 1 1 2 0v8.172a1 1 0 0 0 2 0V7a3 3 0 1 0-6 0v8Z", fill: color })); const Solid = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7 15a5 5 0 0 0 10 0V6a1 1 0 1 1 2 0v9a7 7 0 0 1-14 0V7a5 5 0 0 1 10 0v8.172a3 3 0 0 1-6 0V7a1 1 0 1 1 2 0v8.172a1 1 0 0 0 2 0V7a3 3 0 1 0-6 0v8Z", fill: color })); const Lineal = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7 15a5 5 0 0 0 10 0V6a1 1 0 1 1 2 0v9a7 7 0 0 1-14 0V7a5 5 0 0 1 10 0v8.172a3 3 0 0 1-6 0V7a1 1 0 1 1 2 0v8.172a1 1 0 0 0 2 0V7a3 3 0 1 0-6 0v8Z", fill: color })); const Bulk = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7 15a5 5 0 0 0 10 0V6a1 1 0 1 1 2 0v9a7 7 0 0 1-14 0V7a5 5 0 0 1 10 0v8.172a3 3 0 0 1-6 0V7a1 1 0 1 1 2 0v8.172a1 1 0 0 0 2 0V7a3 3 0 1 0-6 0v8Z", fill: secondaryColor })); 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 Attachment$1 = withSVG(Attachment); export { Attachment, Attachment$1 as default }; //# sourceMappingURL=Attachment.js.map