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

react-social-icons

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-social-icons - npm Package Compare versions

Comparing version 6.15.0 to 6.16.0

dist/icons/misskey.js

1

dist/icons/index.js

@@ -32,2 +32,3 @@ export { default as bandsintown } from './bandsintown.js';

export { default as meetup } from './meetup.js';
export { default as misskey } from './misskey.js';
export { default as opensea } from './opensea.js';

@@ -34,0 +35,0 @@ export { default as patreon } from './patreon.js';

@@ -32,2 +32,3 @@ import './icons/bandsintown.js';

import './icons/meetup.js';
import './icons/misskey.js';
import './icons/opensea.js';

@@ -34,0 +35,0 @@ import './icons/patreon.js';

3

package.json
{
"name": "react-social-icons",
"version": "6.15.0",
"version": "6.16.0",
"description": "beautiful, easy svg social icons in react",

@@ -46,2 +46,3 @@ "main": "./dist/react-social-icons.cjs",

"./meetup": "./dist/icons/meetup.js",
"./misskey": "./dist/icons/misskey.js",
"./opensea": "./dist/icons/opensea.js",

@@ -48,0 +49,0 @@ "./patreon": "./dist/icons/patreon.js",

@@ -327,12 +327,17 @@ # react-social-icons

### How do I render the mastodon icon?
### How do I render icons for federated or decentralized social networks?
Mastodon is a federated social network, each instance may have a different
domain name associated with it. Specify the network attribute as "mastodon" to
render the Mastodon icon.
Specify the network prop of the social network icon you want to render. For example:
```js
<SocialIcon network="mastodon" url="https://techhub.social/" />
// or
<SocialIcon network="misskey" url="https://misskey-hub.net" />
```
Federated/decentralized social networks can have instances or user accounts
hosted on different domains. This can cause the library to not detect the
proper network on a naive inspection of the `url` prop. Refer to [the
documentation on props](#props).
### Tree-shaking with Typescript causes a build error where the type declarations cannot be found

@@ -339,0 +344,0 @@

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