Socket
Socket
Sign inDemoInstall

@hig/icon-button

Package Overview
Dependencies
Maintainers
5
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/icon-button - npm Package Compare versions

Comparing version 0.1.0-alpha.7472a049 to 0.1.0-alpha.782961bd

15

package.json
{
"name": "@hig/icon-button",
"version": "0.1.0-alpha.7472a049",
"version": "0.1.0-alpha.782961bd",
"description": "HIG IconButton component",

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

"homepage": "https://hig.autodesk.com",
"publishConfig": {
"access": "public"
},
"main": "build/index.js",
"module": "build/index.es.js",
"style": "build/index.css",
"files": [
"build/*"
],
"dependencies": {
"@hig/icon": "0.1.0-alpha.7472a049"
"@hig/icon": "0.1.0-alpha.782961bd"
},
"devDependencies": {
"@hig/scripts": "0.2.0-alpha.7472a049",
"@hig/styles": "0.1.0-alpha.7472a049"
"@hig/scripts": "0.2.0-alpha.782961bd",
"@hig/styles": "0.1.0-alpha.782961bd"
},

@@ -18,0 +25,0 @@ "peerDependencies": {

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

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

@@ -13,5 +26,2 @@

```jsx
import Icon from '@hig/icon-button`;
import '@hig/icon-button/build/index.css';
function MyComponent() {

@@ -30,4 +40,2 @@ return (

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

@@ -43,2 +51,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