react-emoji-picker
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -18,4 +18,4 @@ "use strict"; | ||
function filterByName(opts) { | ||
return opts.emoji.name.match(`${opts.query}`) | ||
|| opts.emoji.alternatives.match(`${opts.query}`) | ||
return opts.emoji.name.match(opts.query) | ||
|| opts.emoji.alternatives.match(opts.query) | ||
} | ||
@@ -57,3 +57,3 @@ | ||
if(this.emojis()[0]) { | ||
this.props.onSelect(`:${this.emojis()[0].name}:`) | ||
this.props.onSelect(':' + this.emojis()[0].name + ':') | ||
} | ||
@@ -125,3 +125,3 @@ }, | ||
var emojiLinks = this.emojis().map(function(emoji) { | ||
emoji = `:${emoji.name}:` | ||
emoji = ':' + emoji.name} + ':' | ||
return ( | ||
@@ -128,0 +128,0 @@ React.createElement("a", {key: emoji, className: "emoji-picker-emoji", |
{ | ||
"name": "react-emoji-picker", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A React component providing a visual emoji picker, similar to Slack's", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/chadoh/react-emoji-picker", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66046