@rsuite/icon-font
Version:
All rsuite icon resource file and icon fonts
32 lines (24 loc) • 5.29 kB
JavaScript
;
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcard(require("react"));
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function Cogs(props, svgRef) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: "1em",
height: "1em",
viewBox: "0 0 34 32",
fill: "currentColor",
ref: svgRef
}, props), /*#__PURE__*/React.createElement("path", {
d: "M16 16c0-2.518-2.054-4.571-4.571-4.571S6.858 13.483 6.858 16s2.054 4.571 4.571 4.571S16 18.517 16 16zm13.714 9.143c0-1.25-1.036-2.286-2.286-2.286s-2.286 1.036-2.286 2.286a2.29 2.29 0 002.286 2.286 2.29 2.29 0 002.286-2.286zm0-18.286c0-1.25-1.036-2.286-2.286-2.286s-2.286 1.036-2.286 2.286a2.29 2.29 0 002.286 2.286 2.29 2.29 0 002.286-2.286zm-6.857 7.518v3.304c0 .232-.179.5-.411.536l-2.768.429a8.133 8.133 0 01-.571 1.357c.5.714 1.036 1.375 1.607 2.054a.619.619 0 01.125.357c0 .125-.036.25-.125.339-.357.482-2.357 2.661-2.875 2.661a.676.676 0 01-.375-.125L15.41 23.68a7.648 7.648 0 01-1.375.554c-.089.911-.179 1.893-.411 2.768a.57.57 0 01-.536.429H9.767c-.25 0-.5-.196-.536-.446l-.411-2.732a8.732 8.732 0 01-1.339-.554l-2.107 1.589a.515.515 0 01-.357.125.577.577 0 01-.375-.143c-.464-.429-2.571-2.339-2.571-2.857a.61.61 0 01.125-.339c.518-.679 1.054-1.339 1.571-2.036a9.515 9.515 0 01-.625-1.464l-2.714-.429a.52.52 0 01-.429-.518v-3.304c0-.232.179-.5.411-.536l2.768-.429c.143-.464.339-.911.571-1.357a29.272 29.272 0 00-1.607-2.054c-.071-.107-.125-.232-.125-.357s.036-.25.125-.357c.357-.482 2.357-2.643 2.875-2.643.143 0 .268.054.375.125l2.054 1.607a9.216 9.216 0 011.375-.571c.089-.893.179-1.875.411-2.75a.57.57 0 01.536-.429h3.321c.25 0 .5.196.536.446l.411 2.732c.464.143.911.339 1.339.554l2.107-1.589a.547.547 0 01.357-.125c.143 0 .268.054.375.143.464.429 2.571 2.357 2.571 2.857a.61.61 0 01-.125.339c-.518.696-1.054 1.339-1.554 2.036.232.482.446.964.607 1.464l2.714.411c.25.054.429.286.429.536zm11.429 9.518v2.5c0 .268-2.304.518-2.661.554a4.332 4.332 0 01-.536.929c.161.357.911 2.143.911 2.464 0 .054-.018.089-.071.125-.214.125-2.125 1.268-2.214 1.268-.232 0-1.571-1.786-1.75-2.054-.179.018-.357.036-.536.036s-.357-.018-.536-.036c-.179.268-1.518 2.054-1.75 2.054-.089 0-2-1.143-2.214-1.268a.153.153 0 01-.071-.125c0-.304.75-2.107.911-2.464a4.35 4.35 0 01-.536-.929c-.357-.036-2.661-.286-2.661-.554v-2.5c0-.268 2.304-.518 2.661-.554.143-.321.321-.643.536-.929-.161-.357-.911-2.161-.911-2.464 0-.036.018-.089.071-.125.214-.107 2.125-1.25 2.214-1.25.232 0 1.571 1.768 1.75 2.036.179-.018.357-.036.536-.036s.357.018.536.036c.5-.696 1.036-1.393 1.643-2l.107-.036c.089 0 2 1.125 2.214 1.25a.153.153 0 01.071.125c0 .321-.75 2.107-.911 2.464.214.286.393.607.536.929.357.036 2.661.286 2.661.554zm0-18.286v2.5c0 .268-2.304.518-2.661.554a4.332 4.332 0 01-.536.929c.161.357.911 2.143.911 2.464 0 .054-.018.089-.071.125-.214.125-2.125 1.268-2.214 1.268-.232 0-1.571-1.786-1.75-2.054-.179.018-.357.036-.536.036s-.357-.018-.536-.036c-.179.268-1.518 2.054-1.75 2.054-.089 0-2-1.143-2.214-1.268a.153.153 0 01-.071-.125c0-.304.75-2.107.911-2.464a4.35 4.35 0 01-.536-.929c-.357-.036-2.661-.286-2.661-.554v-2.5c0-.268 2.304-.518 2.661-.554.143-.321.321-.643.536-.929-.161-.357-.911-2.161-.911-2.464 0-.036.018-.089.071-.125.214-.107 2.125-1.25 2.214-1.25.232 0 1.571 1.768 1.75 2.036.179-.018.357-.036.536-.036s.357.018.536.036c.5-.696 1.036-1.393 1.643-2l.107-.036c.089 0 2 1.125 2.214 1.25A.153.153 0 0132 1.66c0 .321-.75 2.107-.911 2.464.214.286.393.607.536.929.357.036 2.661.286 2.661.554z"
}));
}
var ForwardRef = /*#__PURE__*/React.forwardRef(Cogs);
var _default = ForwardRef;
exports["default"] = _default;