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

@igloo-ui/icon-button

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@igloo-ui/icon-button - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

2

dist/IconButton.d.ts

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

import React from 'react';
import * as React from 'react';
import { ButtonOwnProps } from '@igloo-ui/button';

@@ -3,0 +3,0 @@ import './icon-button.scss';

import './icon-button.css';
import * as React from 'react';
import React__default from 'react';

@@ -217,3 +216,3 @@ /*! *****************************************************************************

});
return (React__default.createElement(Button, Object.assign({ className: classes, onClick: onClick, disabled: disabled }, rest), icon));
return (React.createElement(Button, Object.assign({ className: classes, onClick: onClick, disabled: disabled }, rest), icon));
};

@@ -220,0 +219,0 @@

{
"name": "@igloo-ui/icon-button",
"version": "0.2.7",
"version": "0.2.8",
"main": "dist/IconButton.js",

@@ -24,3 +24,3 @@ "module": "dist/IconButton.js",

"dependencies": {
"@igloo-ui/button": "^0.2.0",
"@igloo-ui/button": "^0.2.2",
"@igloo-ui/tokens": "^1.1.0",

@@ -37,3 +37,3 @@ "classnames": "^2.3.1"

],
"gitHead": "be5681b7136fabfdba22481df92ab7378cfde02f"
"gitHead": "a59c6efd167e1cb3619a1e90230b1db6fc17bd9e"
}

@@ -1,19 +0,32 @@

# @igloo-ui/icon-button
# IconButton
Welcome to my `icon-button` component.
IconButton are used primarily for actions.
<Example />
<ReferenceLinks />
## Installation
```sh
npm i @igloo-ui/icon-button
# or with yarn
To install `@igloo-ui/icon-button` in your project, you will need to run the following command using [npm](https://www.npmjs.com/):
```bash
npm install @igloo-ui/icon-button
```
If you prefer [Yarn](https://classic.yarnpkg.com/en/), use the following command instead:
```bash
yarn add @igloo-ui/icon-button
```
## Usage
Then to use the component in your code just import it!
```js
```jsx
import IconButton from '@igloo-ui/icon-button';
// and with css-modules
import '@igloo-ui/icon-button/dist/icon-button.css';
import Plus from '@igloo-ui/icons/dist/Plus';
<IconButton icon={<Plus size="small" />} />;
```

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