Socket
Socket
Sign inDemoInstall

@uiw/react-icon

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-icon - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

2

lib/cjs/index.d.ts

@@ -21,4 +21,4 @@ import React from 'react';

static defaultProps: IconProps<{}>;
renderSvgPaths: (type: "link" | "map" | "menu" | "picture" | "table" | "time" | "filter" | "stop" | "adobe" | "alipay" | "aliwangwang" | "android-o" | "android" | "apple" | "appstore-o" | "appstore" | "area-chart" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrows-alt" | "asterisk" | "backward" | "baidu" | "bar-chart" | "barcode" | "bell" | "camera-o" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "check-square-o" | "check-square" | "check" | "chrome" | "circle-check-o" | "circle-check" | "circle-close-o" | "circle-close" | "circle-o" | "close-square-o" | "close-square" | "close" | "cloud-download-o" | "cloud-download" | "cloud-upload-o" | "cloud-upload" | "coffee" | "component" | "copy" | "copyright" | "css3" | "cut" | "d-arrow-left" | "d-arrow-right" | "d-caret" | "dashboard" | "date" | "delete" | "dingding" | "dislike-o" | "document" | "dot-chart" | "down-circle-o" | "down-circle" | "down-square-o" | "down-square" | "down" | "download" | "edit" | "enter" | "environment-o" | "environment" | "eye-o" | "eye" | "facebook" | "file-add" | "file-excel" | "file-jpg" | "file-pdf" | "file-text" | "file-unknown" | "firefox" | "folder-add" | "folder-open" | "folder" | "forward" | "foursquare" | "frown-o" | "frown" | "github-o" | "github" | "global" | "heart-off" | "heart-on" | "home" | "html5" | "ie" | "inbox" | "information-o" | "information" | "laptop" | "left-circle-o" | "left-circle" | "left-square-o" | "left-square" | "left" | "like-o" | "linkedin" | "linux" | "loading" | "lock" | "login" | "logout" | "mail-o" | "mail" | "man" | "meh-o" | "meh" | "menu-fold" | "menu-unfold" | "message" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus-square" | "minus" | "mobile" | "more" | "notification" | "opera" | "paper-clip" | "pause-circle-o" | "pause-circle" | "pause" | "pay-circle-o" | "pay" | "picasa" | "pie-chart" | "pinterest" | "play-circle-o" | "play-circle" | "plus-circle-o" | "plus-circle" | "plus-square-o" | "plus-square" | "plus" | "poweroff" | "printer" | "qq" | "qrcode" | "question-circle-o" | "question-circle" | "reddit" | "reload" | "right-circle-o" | "right-circle" | "right-square-o" | "right-square" | "right" | "rollback" | "safari" | "safety" | "save" | "search" | "setting-o" | "setting" | "share" | "shopping-cart" | "shrink" | "smile-o" | "smile" | "square-o" | "star-off" | "star-on" | "stop-o" | "swap-left" | "swap-right" | "swap" | "tag-o" | "tag" | "tags-o" | "tags" | "taobao" | "time-o" | "twitter" | "uiw" | "unlock" | "up-circle-o" | "up-circle" | "up-square-o" | "up-square" | "up" | "upload" | "user-add" | "user-delete" | "user" | "usergroup-add" | "usergroup-delete" | "verification" | "verticle-left" | "verticle-right" | "video-camera" | "warning-o" | "warning" | "weibo" | "weixin" | "wifi" | "windows" | "woman" | "zoom-in" | "zoom-out") => JSX.Element[] | null;
renderSvgPaths: (type: IconsName) => JSX.Element[] | null;
render(): JSX.Element | null;
}

@@ -34,3 +34,3 @@ "use strict";

function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }

@@ -94,4 +94,4 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }

}, this.renderSvgPaths(type));
} else if (_react.default.isValidElement(type)) {
svg = _react.default.cloneElement(type, {
} else if ( /*#__PURE__*/_react.default.isValidElement(type)) {
svg = /*#__PURE__*/_react.default.cloneElement(type, {
fill: color

@@ -98,0 +98,0 @@ });

@@ -21,4 +21,4 @@ import React from 'react';

static defaultProps: IconProps<{}>;
renderSvgPaths: (type: "link" | "map" | "menu" | "picture" | "table" | "time" | "filter" | "stop" | "adobe" | "alipay" | "aliwangwang" | "android-o" | "android" | "apple" | "appstore-o" | "appstore" | "area-chart" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrows-alt" | "asterisk" | "backward" | "baidu" | "bar-chart" | "barcode" | "bell" | "camera-o" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "check-square-o" | "check-square" | "check" | "chrome" | "circle-check-o" | "circle-check" | "circle-close-o" | "circle-close" | "circle-o" | "close-square-o" | "close-square" | "close" | "cloud-download-o" | "cloud-download" | "cloud-upload-o" | "cloud-upload" | "coffee" | "component" | "copy" | "copyright" | "css3" | "cut" | "d-arrow-left" | "d-arrow-right" | "d-caret" | "dashboard" | "date" | "delete" | "dingding" | "dislike-o" | "document" | "dot-chart" | "down-circle-o" | "down-circle" | "down-square-o" | "down-square" | "down" | "download" | "edit" | "enter" | "environment-o" | "environment" | "eye-o" | "eye" | "facebook" | "file-add" | "file-excel" | "file-jpg" | "file-pdf" | "file-text" | "file-unknown" | "firefox" | "folder-add" | "folder-open" | "folder" | "forward" | "foursquare" | "frown-o" | "frown" | "github-o" | "github" | "global" | "heart-off" | "heart-on" | "home" | "html5" | "ie" | "inbox" | "information-o" | "information" | "laptop" | "left-circle-o" | "left-circle" | "left-square-o" | "left-square" | "left" | "like-o" | "linkedin" | "linux" | "loading" | "lock" | "login" | "logout" | "mail-o" | "mail" | "man" | "meh-o" | "meh" | "menu-fold" | "menu-unfold" | "message" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus-square" | "minus" | "mobile" | "more" | "notification" | "opera" | "paper-clip" | "pause-circle-o" | "pause-circle" | "pause" | "pay-circle-o" | "pay" | "picasa" | "pie-chart" | "pinterest" | "play-circle-o" | "play-circle" | "plus-circle-o" | "plus-circle" | "plus-square-o" | "plus-square" | "plus" | "poweroff" | "printer" | "qq" | "qrcode" | "question-circle-o" | "question-circle" | "reddit" | "reload" | "right-circle-o" | "right-circle" | "right-square-o" | "right-square" | "right" | "rollback" | "safari" | "safety" | "save" | "search" | "setting-o" | "setting" | "share" | "shopping-cart" | "shrink" | "smile-o" | "smile" | "square-o" | "star-off" | "star-on" | "stop-o" | "swap-left" | "swap-right" | "swap" | "tag-o" | "tag" | "tags-o" | "tags" | "taobao" | "time-o" | "twitter" | "uiw" | "unlock" | "up-circle-o" | "up-circle" | "up-square-o" | "up-square" | "up" | "upload" | "user-add" | "user-delete" | "user" | "usergroup-add" | "usergroup-delete" | "verification" | "verticle-left" | "verticle-right" | "video-camera" | "warning-o" | "warning" | "weibo" | "weixin" | "wifi" | "windows" | "woman" | "zoom-in" | "zoom-out") => JSX.Element[] | null;
renderSvgPaths: (type: IconsName) => JSX.Element[] | null;
render(): JSX.Element | null;
}

@@ -13,3 +13,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -79,4 +79,4 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }

}, this.renderSvgPaths(type));
} else if (React.isValidElement(type)) {
svg = React.cloneElement(type, {
} else if ( /*#__PURE__*/React.isValidElement(type)) {
svg = /*#__PURE__*/React.cloneElement(type, {
fill: color

@@ -83,0 +83,0 @@ });

{
"name": "@uiw/react-icon",
"version": "4.1.0",
"version": "4.1.1",
"description": "Icon component",

@@ -57,3 +57,3 @@ "author": "Kenny Wong <wowohoo@qq.com>",

},
"gitHead": "5a2547993b7f4538e7075f6dce7e550620e31eca"
"gitHead": "1f6848374148d3e573244cf52dc88ecd001a6423"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc