@ericadamski/moji-button

1.0.0 • Public • Published

emoji-button

A simple React button component that translates the text given to an emoji string using notwaldorf/emoji-translate

Installation

> yarn add @ericadamski/emoji-button

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import EmojiButton form '@ericadamski/emoji-button';

ReactDOM.render(
    <EmojiButton>Goodbye!</EmojiButton>,
    document.getElementById('root')
);

Readme

Keywords

none

Package Sidebar

Install

npm i @ericadamski/moji-button

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

209 kB

Total Files

3

Last publish

Collaborators

  • ericadamski