1.0.12 • Published 4 years ago

react-facebook-emoji v1.0.12

Weekly downloads
44
License
ISC
Repository
-
Last release
4 years ago

React Facebook Emoji

Easy to use facebook animated Emojis

See it in action

demo

How to use it

Install the npm package

$ npm i --save react-facebook-emoji

Use it in your component

import React from 'react';
import FacebookEmoji from 'react-facebook-emoji';

export const sampleComponent = () => (
    <FacebookEmoji />
);

Preview

preview

PropertyValuesDefault Value
typelike, love, yay, wow, angry, haha, sadlike
sizexxs, xs, sm, md, lg, xl, xxl, xxlmd

Using different types

import React from 'react';
import FacebookEmoji from 'react-facebook-emoji';

export const sampleComponent = () => (
    <div>
        <FacebookEmoji type="like"/>
        <FacebookEmoji type="love"/>
        <FacebookEmoji type="wow"/>
        <FacebookEmoji type="yay"/>
        <FacebookEmoji type="angry"/>
        <FacebookEmoji type="haha"/>
        <FacebookEmoji type="sad"/>
    </div>
);

Preview

Types

Using different sizes

import React from 'react';
import FacebookEmoji from 'react-facebook-emoji';

export const sampleComponent = () => (
    <div>
        <FacebookEmoji type="like" size="xxs"/>
        <FacebookEmoji type="like" size="xs"/>
        <FacebookEmoji type="like" size="sm"/>
        <FacebookEmoji type="like" size="md"/>
        <FacebookEmoji type="like" size="lg"/>
        <FacebookEmoji type="like" size="xl"/>
        <FacebookEmoji type="like" size="xxl"/>
        <FacebookEmoji type="like" size="xxxl"/>
    </div>
);

Preview

Sizes

Please feel free to contact if you have any problem while using this package, I always like to help and solve the problems of other people.

Email: asfand.dev@gmail.com Website: asfand-dev.github.io

1.0.12

4 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago