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 InteractiveServerUse the <Emoji> component to render emojis:
<Emoji>:tada: initial commit</Emoji>Further documentation is available at https://github.com/hlaueriksson/GEmojiSharp