react-native-emoticons icon indicating copy to clipboard operation
react-native-emoticons copied to clipboard

Would this work on react web

Open brianpooe opened this issue 6 years ago • 2 comments

I can not seem to find this package for the web. I specifically need this functionality bellow:

const emoji = emoticons.parse('This is source emoji [GRIMACING FACE]'); console.log(emoji);

brianpooe avatar May 19 '19 16:05 brianpooe

try this module, npm install emoticons-parse.

xiewang avatar May 20 '19 06:05 xiewang

Thanks Xiewang for the response but the package does not work on my side.

import * as emoticons from 'emoticons-parse';

const emoji = emoticons.parse('This is source emoji [GRIMACING FACE]'); console.log(emoji);

// Response

Error that there is not default export. So i did some changes to the file and managed to bypass the errors but the code still returns the same string in the console without the emoji.

brianpooe avatar Jul 05 '19 09:07 brianpooe