You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@teambit/evangelist.elements.icon

Package Overview
Dependencies
Maintainers
16
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/evangelist.elements.icon - npm Package Compare versions

Comparing version

to
0.5.5

dist/icon.composition.d.ts

12

dist/icon.d.ts
/// <reference types="react" />
import { BaseIconProps } from '@teambit/base-ui.elements.icon';
export declare type IconProps = BaseIconProps;
/**
* Placeholder for an icon, from Bit.dev's icon font.
*
* (Make sure [IconFont](https://bit.dev/bit/evangelist/theme/icon-font) is present in the page, for the icons to load).
* @name Icon
* @example
* // Embed icon at the document root:
* <EvaIconFont query="sdfj4k2d"/>
*
* // Then use icon anywhere in the document:
* <Icon of="spinner"/>
*/
export declare function Icon({ className, of: iconName, ...rest }: IconProps): JSX.Element;

@@ -21,14 +21,2 @@ "use strict";

const iconSetPrefix = 'bitcon';
/**
* Placeholder for an icon, from Bit.dev's icon font.
*
* (Make sure [IconFont](https://bit.dev/bit/evangelist/theme/icon-font) is present in the page, for the icons to load).
* @name Icon
* @example
* // Embed icon at the document root:
* <EvaIconFont query="sdfj4k2d"/>
*
* // Then use icon anywhere in the document:
* <Icon of="spinner"/>
*/
function Icon(_a) {

@@ -35,0 +23,0 @@ var { className, of: iconName } = _a, rest = __rest(_a, ["className", "of"]);

13

package.json
{
"name": "@teambit/evangelist.elements.icon",
"version": "0.5.4",
"version": "0.5.5",
"homepage": "https://bit.dev/teambit/evangelist/elements/icon",
"main": "dist/index.js",

@@ -8,3 +9,3 @@ "componentId": {

"name": "elements/icon",
"version": "0.5.4"
"version": "0.5.5"
},

@@ -16,2 +17,3 @@ "dependencies": {

"@types/react": "16.9.43",
"@testing-library/react": "^10.4.7",
"@babel/runtime": "^7.11.2",

@@ -21,7 +23,8 @@ "@types/react-router-dom": "^5.1.5",

"core-js": "^3.6.5",
"@types/node": "^12.12.27"
"@types/node": "^12.12.27",
"@teambit/evangelist.theme.icon-font": "0.5.5"
},
"peerDependencies": {
"react-dom": "^16.13.1",
"react": "^16.13.1"
"react": "^16.13.1",
"react-dom": "^16.13.1"
},

@@ -28,0 +31,0 @@ "license": "SEE LICENSE IN LICENSE",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet