1.0.5 • Published 1 year ago

twemoji-svelte-action v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

🚀 twemoji-svelte-action

npm version

This is a Svelte action that replaces emoji in text with images from Twemoji

Installation

npm install twemoji-svelte-action

Usage

<script>
  import twemoji from 'twemoji-svelte-action'
</script>

<div use:twemoji>🚀</div>

Options

You can pass an object with options to the action.

<script>
  import twemoji from 'twemoji-svelte-action'
  
  const options = {
    folder: 'svg',
    ext: '.svg'
  }
</script>

<div use:twemoji={options}>🚀</div>

Check more available options in the Twemoji documentation

License

The MIT License

License: MIT

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago