react-emoji-hash

1.0.0 • Public • Published

react-emoji-hash

react spoiler hook

NPM JavaScript Style Guide

Install

npm install --save react-emoji-hash

Usage

import React, { Component } from 'react'
import { useHashEmoji } from 'react-emoji-hash'
 
const App = () => {
  const textToEmoji = useHashEmoji('Hello World');
  const textToEmoji_2 = useHashEmoji('Hello World');
  return (
    <div>
    Hello World: {textToEmoji} // output: Hello World: 👘🐷🇰🇭💾
     <br/>
    A.Ozan Tekin:  {textToEmoji_2} // output: Hello World: 🍄🇲🇹🚻🐍
    </div>
  )
}

License

MIT © ahmetozantekin

Readme

Keywords

none

Package Sidebar

Install

npm i react-emoji-hash

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

471 kB

Total Files

23

Last publish

Collaborators

  • ahmetozantekin