Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-antd-icons

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-antd-icons - npm Package Compare versions

Comparing version 0.0.1-alpha.2 to 0.0.1-alpha.3

.rpt2_cache/ab8b7e7dc0816886f38b7b2c0f1cbc46a8eedd2c/code/cache/2818d089cc2ea0751425279286c181827b1e5208

2

esm/index.d.ts

@@ -1,1 +0,1 @@

export * from './components/AntdIcon';
export { default as AntdIcon, IAntdIconProps } from './components/AntdIcon';

@@ -55,3 +55,3 @@ import { library, prefix } from 'antd-icons';

var _a = this.props, type = _a.type, rest = __rest(_a, ["type"]);
return (createElement("svg", __assign({ width: '1em', height: '1em', fill: 'currentColor' }, rest),
return (createElement("svg", __assign({ "data-icon": type, width: '1em', height: '1em', fill: 'currentColor' }, rest),
createElement("use", { xlinkHref: "#" + prefix + type })));

@@ -71,1 +71,3 @@ };

}(Component));
export { AntdIcon };

@@ -1,1 +0,1 @@

export * from './components/AntdIcon';
export { default as AntdIcon, IAntdIconProps } from './components/AntdIcon';
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var antdIcons = require('antd-icons');

@@ -57,3 +59,3 @@ var React = require('react');

var _a = this.props, type = _a.type, rest = __rest(_a, ["type"]);
return (React.createElement("svg", __assign({ width: '1em', height: '1em', fill: 'currentColor' }, rest),
return (React.createElement("svg", __assign({ "data-icon": type, width: '1em', height: '1em', fill: 'currentColor' }, rest),
React.createElement("use", { xlinkHref: "#" + antdIcons.prefix + type })));

@@ -73,1 +75,3 @@ };

}(React.Component));
exports.AntdIcon = AntdIcon;
{
"name": "react-antd-icons",
"version": "0.0.1-alpha.2",
"version": "0.0.1-alpha.3",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "module": "./esm/index.js",

@@ -9,3 +9,6 @@ {

"declaration": true
}
},
"include": [
"src/"
]
}
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