We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac25e7 commit 23d137bCopy full SHA for 23d137b
packages/react/src/components/DiscordButton.tsx
@@ -33,6 +33,7 @@ export default function DiscordButton({ children, disabled, image, type = 'prima
33
disabled={disabled}
34
>
35
{image && <img className="discord-button-emoji" src={image} alt="" />}
36
+ {emoji && <Twemoji options={{ className: 'discord-button-emoji' }}>{emoji}</Twemoji>}
37
{children}
38
{type === 'link' && <OutboundLinkIcon />}
39
</button>
0 commit comments