@styled-icons/heroicons-solid
Version:
Heroicons Solid icons available as Styled Components
27 lines • 1.18 kB
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import * as React from 'react';
import { StyledIconBase } from '@styled-icons/styled-icon';
export var Swatch = /*#__PURE__*/React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor",
"xmlns": "http://www.w3.org/2000/svg"
};
return /*#__PURE__*/React.createElement(StyledIconBase, _extends({
iconAttrs: attrs,
iconVerticalAlign: "middle",
iconViewBox: "0 0 24 24"
}, props, {
ref: ref
}), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
d: "M2.25 4.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875V17.25a4.5 4.5 0 1 1-9 0V4.125zm4.5 14.25a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25z",
clipRule: "evenodd"
}), /*#__PURE__*/React.createElement("path", {
d: "M10.719 21.75h9.156c1.036 0 1.875-.84 1.875-1.875v-5.25c0-1.036-.84-1.875-1.875-1.875h-.14l-8.742 8.743a6 6 0 0 1-.274.257zm2.019-4.125 6.474-6.474a1.875 1.875 0 0 0 0-2.651L15.5 4.787a1.875 1.875 0 0 0-2.651 0l-.1.099V17.25c0 .126-.003.251-.01.375z"
}));
});
Swatch.displayName = 'Swatch';
export var SwatchDimensions = {
height: 24,
width: 24
};