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

react-emojione-menu

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-emojione-menu - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

46

dist/components/emoji-modifiers.js

@@ -57,25 +57,29 @@ 'use strict';

_react2.default.createElement(
'div',
{
className: tone === 'tone0' ? 'modifier active' : 'modifier',
onClick: function onClick() {
return changeTone('tone0');
}
},
'section',
{ className: 'modifiers-container' },
_react2.default.createElement(
'svg',
{ width: '50px', height: '50px', viewBox: '0 0 50 50', className: 'emojione' },
_react2.default.createElement('circle', { id: 'circle', fill: '#FFDD67', cx: '25', cy: '25', r: '25' })
)
'div',
{
className: tone === 'tone0' ? 'modifier active' : 'modifier',
onClick: function onClick() {
return changeTone('tone0');
}
},
_react2.default.createElement(
'svg',
{ width: '50px', height: '50px', viewBox: '0 0 50 50', className: 'emojione' },
_react2.default.createElement('circle', { id: 'circle', fill: '#FFDD67', cx: '25', cy: '25', r: '25' })
)
),
_underscore2.default.map(modifiers, function (modifier) {
return _react2.default.createElement('div', {
className: modifier.title === tone ? 'modifier active' : 'modifier',
dangerouslySetInnerHTML: (0, _createMarkup2.default)(modifier.shortname),
key: 'emoji-' + modifier.shortname,
onClick: function onClick() {
return changeTone(modifier.title);
}
});
})
),
_underscore2.default.map(modifiers, function (modifier) {
return _react2.default.createElement('div', {
className: modifier.title === tone ? 'modifier active' : 'modifier',
dangerouslySetInnerHTML: (0, _createMarkup2.default)(modifier.shortname),
key: 'emoji-' + modifier.shortname,
onClick: function onClick() {
return changeTone(modifier.title);
}
});
}),
toggleButton

@@ -82,0 +86,0 @@ );

{
"name": "react-emojione-menu",
"version": "1.1.1",
"version": "1.1.2",
"description": "Emoji menu with React and emojione",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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