Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.15 KB

GEmojiSharp.Blazor.md

File metadata and controls

38 lines (24 loc) · 1.15 KB

GEmojiSharp.Blazor 📦

Build status CodeFactor

GitHub Emoji for Blazor

The package is a Razor class library (RCL) with a Razor component.

Update the _Imports.razor file, to enable the component in all Razor views:

@using GEmojiSharp.Blazor

ℹ️ In a Blazor Web App (.NET 8 or later), the component requires an interactive render mode applied either globally to the app or to the component definition.

Set the global render mode in App.razor:

<Routes @rendermode="InteractiveServer" />

or per page/component:

@rendermode InteractiveServer

Use the <Emoji> component to render emojis:

<Emoji>:tada: initial commit</Emoji>

Would you like to know more? 🤔

Further documentation is available at https://github.com/hlaueriksson/GEmojiSharp