Socket
Socket
Sign inDemoInstall

@rmwc/icon

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/icon - npm Package Compare versions

Comparing version 14.2.8 to 14.2.9

icon.css

8

package.json
{
"name": "@rmwc/icon",
"version": "14.2.8",
"version": "14.2.9",
"description": "RMWC Icon component",

@@ -42,6 +42,6 @@ "main": "./index.js",

"dependencies": {
"@rmwc/base": "14.2.8",
"@rmwc/provider": "14.2.8",
"@rmwc/types": "14.2.8"
"@rmwc/base": "14.2.9",
"@rmwc/provider": "14.2.9",
"@rmwc/types": "14.2.9"
}
}

@@ -139,3 +139,6 @@ # Icons

icon: (
<svg style={{ width: '24px', height: '24px' }} viewBox="0 0 24 24">
<svg
style={{ width: '24px', height: '24px' }}
viewBox="0 0 24 24"
>
<path

@@ -202,3 +205,4 @@ fill="#4285F4"

```jsx
`
`
// 1) Your app has an icon component you use

@@ -245,7 +249,7 @@ import { MyIconComponent } from '@rmwc/icon';

<TextFieldIcon icon="search" />
`;
`
```
## Icon
An Icon component. Most of these options can be set once globally, read the documentation on Provider for more info.

@@ -255,4 +259,6 @@

| Name | Type | Description |
| ------ | ----------- | ------------------------------------------------------------------------------------------------------ |
| Name | Type | Description |
|------|------|-------------|
| `icon` | `IconPropT` | The icon to use. This can be a string for a font icon, a url, or whatever the selected strategy needs. |
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