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

@hig/icon

Package Overview
Dependencies
Maintainers
5
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/icon - npm Package Compare versions

Comparing version 0.1.0-alpha.2e38833e to 0.1.0-alpha.3222035a

24

package.json
{
"name": "@hig/icon",
"version": "0.1.0-alpha.2e38833e",
"version": "0.1.0-alpha.3222035a",
"description": "HIG Icon component",

@@ -8,10 +8,18 @@ "author": "Autodesk Inc.",

"homepage": "https://hig.autodesk.com",
"publishConfig": {
"access": "public"
},
"main": "build/index.js",
"module": "build/index.es.js",
"dependendies": {
"@hig/icons": "^0.1.0-alpha"
"style": "build/index.css",
"files": [
"build/*"
],
"dependencies": {
"@hig/icons": "0.1.0-alpha.3222035a"
},
"devDependencies": {
"@hig/scripts": "0.2.0-alpha.2e38833e",
"@hig/styles": "0.1.0-alpha.2e38833e"
"@hig/babel-preset": "0.2.0-alpha.3222035a",
"@hig/scripts": "0.2.0-alpha.3222035a",
"@hig/styles": "0.1.0-alpha.3222035a"
},

@@ -23,4 +31,8 @@ "peerDependencies": {

"scripts": {
"build": "hig-scripts-build"
"build": "hig-scripts-build",
"lint": "eslint src --ext .js,.jsx"
},
"eslintConfig": {
"extends": "@hig"
}
}

@@ -7,2 +7,15 @@ # Icon

## Getting started
```
yarn add @hig/icon
```
## Import the component and CSS
```
import Icon from '@hig/icon';
import '@hig/icon/build/index.css';
```
## Typical usage

@@ -13,8 +26,3 @@

```jsx
import Icon from '@hig/icon`;
import '@hig/icon/build/index.css';
function MyComponent() {
return <Icon name="assets" />
}
<Icon name="assets" />
```

@@ -25,8 +33,3 @@

```jsx
import Icon from '@hig/icon`;
import '@hig/icon/build/index.css';
function MyComponent() {
return <Icon name="assets" size="16" />
}
<Icon name="assets" size="16" />
```

@@ -37,4 +40,2 @@

```jsx
import Icon from '@hig/icon`;
import '@hig/icon/build/index.css';
import myIcon from 'my-icon.svg';

@@ -45,2 +46,2 @@

}
```
```

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