anirudh-emoji
v1.0.3
Published
A collection of Emoji components for React applications
Maintainers
Readme
Emoji Package
A React component library for displaying and selecting emojis with a clean, modern interface.
Installation
npm install @yourusername/emoji
# or
yarn add @yourusername/emojiUsage
import { Emoji } from '@yourusername/emoji';
function App() {
return (
<div>
<h1>Emoji Example</h1>
<Emoji
unified="1f600"
size={32}
set="apple"
/>
</div>
);
}Props
| Prop | Type | Default | Description | |------|------|---------|-------------| | unified | string | - | The unified emoji code (required) | | size | number | 24 | Size of the emoji in pixels | | set | string | 'apple' | Emoji style set ('apple', 'google', 'twitter', 'facebook') | | className | string | '' | Additional CSS class name |
Development
- Clone the repository
- Install dependencies:
npm install - Start development server:
npm start
License
MIT
