Nitrogen Poisonous Monoxide
    Wondering what’s next for npm?Check out our public roadmap! »

    local-emoji-picker

    0.0.13 • Public • Published

    local-emoji-picker

    emoji picker for local emojis

    live example

    props

    • categorySelector: boolean
      • default: false
    • search: boolean
      • default: true
    • onClick: function
    • idPrefix: string
      • default: ''

    examples

      const onClick = (data) => {
        console.log(data) /*
        {
          value: '',
          name: '',
          keywords: ['', ...],
          category: ',
          unicode: '',
          unicodeAlt: ['', ...]
        }
        */
      }
     
      <LocalEmojiPicker
        categorySelector
        onClick={onClick}
      />
     
    // only search
      <LocalEmojiPicker
        onClick={onClick}
      />
     
    // only category selector
      <LocalEmojiPicker
        categorySelector
        search={false}
        onClick={onClick}
      />
     
    // none
      <LocalEmojiPicker
        search={false}
        onClick={onClick}
      />,

    Install

    npm i local-emoji-picker

    DownloadsWeekly Downloads

    93

    Version

    0.0.13

    License

    ISC

    Unpacked Size

    125 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar