0.1.4 • Published 6 months ago

@aurelle/svelte-twemoji v0.1.4

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

svelte-twemoji

A simple and fully reactive Svelte component wrapping around the twemoji library.

Getting started

Install twemoji

The easiest way of loading twemoji is to use the provided CDN. Simply add that to the head of your document.

If window.twemoji exists, then you are ready to make use of this package.

Use the component

This package provides a single Twemoji component that can be used to render any emoji as its twemoji counterpart.

<script lang="ts">
    import { Twemoji } from '@aurelle/svelte-twemoji'
</script>

<Twemoji emoji={'👌'} size={30} />
0.1.4

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago

0.0.1

6 months ago