npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-super-emojis

v0.2.1

Published

A react native library to render all current emojis, on any size

Downloads

5

Readme

React Native Super Emojis 🦸‍♂️✨🦸‍♀️✨🦸

A react native library to render all current emojis, on any size!

Alt Text Alt Text

Features

  • Search Emojis:
    • You can search by description
    • Search by tags (coming soon)
  • Customizable Sections:
    • Customize section titles or add new elements such as subtitles or any node below the title.
    • Display specific sections or render all icons at once.
  • Customizable Columns:
    • You can change the number of columns.
  • Hook to get all icons database and build your custom list.
  • Select icons.

Installation

npm install react-native-super-emojis

or

yarn add react-native-super-emojis

Usage

import { EmojiList } from 'react-native-super-emojis';

const sections = [
  'Smileys & Emotion',
  'People & Body',
  'Animals & Nature',
  'Food & Drink',
  'Travel & Places',
  'Activities',
  'Objects',
  'Symbols',
  'Flags',
];

const [emojiName, setEmojiName] = useState('')

<EmojiList
  sectionsList={sections}
  numberOfColumns={7}
  searchEmoji={emojiName}
/>

Props

| Prop name | Description | Type | Required | Default | | ---------------------------- | ------------------------------------------------ | ------------------------ | -------- | ----------- | | onSelectEmoji | Function called when the user selects an emoji | (name: string) => void | false | undefined | | searchEmoji | Define the name of the emoji you are searching | string | false | undefined | | numberOfColumns | Define the number of columns of the emoji matrix | number | false | undefined | | emojiSize | Define the size of all emojis | number | false | undefined | | emojiBoxStyle | Custom style for the emoji parent view | ViewStyle | false | | | emojiListStyle | Custom style for the entire emoji list matrix | ViewStyle | false | | | sectionSelectedIndex | Define the selected section by index | number | false | undefined | | sectionsList | Divide the icons in 9 sections | string[] | false | undefined | | sectionNode | Adds any React Node below the section title | ReactNode | false | undefined | | sectionsStyle | Custom style for the section parent view | ViewStyle | false | | | sectionsTextStyle | Custom style for the section title | TextStyle | false | | | sectionsTextContainerStyle | Custom style for the section title parent view | ViewStyle | false | |

Hooks

| Hook name | Description | Type | | ------------ | ------------------------------------- | ------------------- | | useIconsDB | Hook to return all the icons database | ()=> IEmojiItem[] |

Made with ❤️ by @leongdev

react-native-super-emojis is a personal project made to be used on my other personal projects and I hope that this small lib can help people with the same problem that I faced developing my apps!

License

MIT