UNPKG

@sexyicons/react

Version:

React components for sexy icons: Icons speak louder than words

34 lines (31 loc) 4.97 kB
import React from 'react'; import { withSVG } from '../helpers/withSVG.js'; const Bank = ({ color = "currentColor", secondaryColor, set = "line", }) => { const Line = () => (React.createElement(React.Fragment, null, React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.4999 5.15093C14.9112 2.28302 9.08879 2.28302 4.50014 5.15093C3.56692 5.73419 3 6.75706 3 7.85756V9.64277C3 10.1951 3.44772 10.6428 4 10.6428L7 10.6428V15.6428H4C3.44772 15.6428 3 16.0905 3 16.6428C3 17.195 3.44772 17.6428 4 17.6428H20C20.5523 17.6428 21 17.195 21 16.6428C21 16.0905 20.5523 15.6428 20 15.6428H17V10.6428L20 10.6428C20.5523 10.6428 21 10.1951 21 9.64277V7.85756C21 6.75706 20.4331 5.73419 19.4999 5.15093ZM9 15.6428H11V10.6428H9V15.6428ZM13 15.6428V10.6428H15V15.6428H13ZM5.56014 6.84693C9.50025 4.38436 14.4997 4.38436 18.4399 6.84693C18.7883 7.06471 19 7.44664 19 7.85756V8.64277H5V7.85756C5 7.44664 5.21168 7.06471 5.56014 6.84693Z", fill: color }), React.createElement("path", { d: "M4 20.6428C4 20.0905 4.44772 19.6428 5 19.6428H19C19.5523 19.6428 20 20.0905 20 20.6428C20 21.195 19.5523 21.6428 19 21.6428H5C4.44772 21.6428 4 21.195 4 20.6428Z", fill: color }))); const Solid = () => (React.createElement(React.Fragment, null, React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.4999 5.15093C14.9112 2.28302 9.08879 2.28302 4.50014 5.15093C3.56692 5.73419 3 6.75706 3 7.85756V9.64277C3 10.1951 3.44772 10.6428 4 10.6428L7 10.6428V15.6428H4C3.44772 15.6428 3 16.0905 3 16.6428C3 17.195 3.44772 17.6428 4 17.6428H20C20.5523 17.6428 21 17.195 21 16.6428C21 16.0905 20.5523 15.6428 20 15.6428H17V10.6428L20 10.6428C20.5523 10.6428 21 10.1951 21 9.64277V7.85756C21 6.75706 20.4331 5.73419 19.4999 5.15093ZM9 15.6428H11V10.6428H9V15.6428ZM13 15.6428V10.6428H15V15.6428H13Z", fill: color }), React.createElement("path", { d: "M4 20.6428C4 20.0905 4.44772 19.6428 5 19.6428H19C19.5523 19.6428 20 20.0905 20 20.6428C20 21.195 19.5523 21.6428 19 21.6428H5C4.44772 21.6428 4 21.195 4 20.6428Z", fill: color }))); const Lineal = () => (React.createElement(React.Fragment, null, React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.4999 5.15777C14.9112 2.28986 9.08879 2.28986 4.50014 5.15777C3.56692 5.74103 3 6.7639 3 7.86439V9.6496C3 10.2019 3.44772 10.6496 4 10.6496H7V16.6494C7 17.2017 7.44772 17.6494 8 17.6494C8.55228 17.6494 9 17.2017 9 16.6494V10.6496H11V16.6494C11 17.2017 11.4477 17.6494 12 17.6494C12.5523 17.6494 13 17.2017 13 16.6494V10.6496H15V16.6494C15 17.2017 15.4477 17.6494 16 17.6494C16.5523 17.6494 17 17.2017 17 16.6494V10.6496H20C20.5523 10.6496 21 10.2019 21 9.6496V7.86439C21 6.7639 20.4331 5.74103 19.4999 5.15777ZM5.56014 6.85376C9.50025 4.39119 14.4997 4.39119 18.4399 6.85376C18.7883 7.07155 19 7.45348 19 7.86439V8.6496H5V7.86439C5 7.45348 5.21168 7.07155 5.56014 6.85376Z", fill: color }), React.createElement("path", { d: "M4 15.6494C3.44772 15.6494 3 16.0971 3 16.6494C3 17.2017 3.44772 17.6494 4 17.6494H20C20.5523 17.6494 21 17.2017 21 16.6494C21 16.0971 20.5523 15.6494 20 15.6494H4Z", fill: secondaryColor }), React.createElement("path", { d: "M5 19.6494C4.44772 19.6494 4 20.0971 4 20.6494C4 21.2017 4.44772 21.6494 5 21.6494H19C19.5523 21.6494 20 21.2017 20 20.6494C20 20.0971 19.5523 19.6494 19 19.6494H5Z", fill: secondaryColor }))); const Bulk = () => (React.createElement(React.Fragment, null, React.createElement("path", { d: "M9 10.6428C9 10.0905 8.55228 9.64282 8 9.64282C7.44772 9.64282 7 10.0905 7 10.6428V15.6428H4C3.44772 15.6428 3 16.0905 3 16.6428C3 17.1951 3.44772 17.6428 4 17.6428H20C20.5523 17.6428 21 17.1951 21 16.6428C21 16.0905 20.5523 15.6428 20 15.6428H17V10.6428C17 10.0905 16.5523 9.64282 16 9.64282C15.4477 9.64282 15 10.0905 15 10.6428V15.6428H13V10.6428C13 10.0905 12.5523 9.64282 12 9.64282C11.4477 9.64282 11 10.0905 11 10.6428V15.6428H9V10.6428Z", fill: color }), React.createElement("path", { d: "M5 19.6428C4.44772 19.6428 4 20.0905 4 20.6428C4 21.1951 4.44772 21.6428 5 21.6428H19C19.5523 21.6428 20 21.1951 20 20.6428C20 20.0905 19.5523 19.6428 19 19.6428H5Z", fill: color }), React.createElement("path", { d: "M19.4999 5.15093C14.9112 2.28302 9.08879 2.28302 4.50014 5.15093C3.56692 5.73419 3 6.75706 3 7.85756V9.64277C3 10.1951 3.44772 10.6428 4 10.6428H20C20.5523 10.6428 21 10.1951 21 9.64277V7.85756C21 6.75706 20.4331 5.73419 19.4999 5.15093Z", 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 Bank$1 = withSVG(Bank); export { Bank, Bank$1 as default }; //# sourceMappingURL=Bank.js.map