mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
@@ -105,6 +105,7 @@ const ContextButton: React.FC<{
|
||||
>
|
||||
<Group position="apart" w="100%" noWrap>
|
||||
<Stack className={classes.buttonStack}>
|
||||
{(button.title || Number.isNaN(+buttonKey)) && (
|
||||
<Group className={classes.buttonGroup}>
|
||||
{button?.icon && (
|
||||
<Stack className={classes.buttonIconContainer}>
|
||||
@@ -124,6 +125,7 @@ const ContextButton: React.FC<{
|
||||
<ReactMarkdown components={MarkdownComponents}>{button.title || buttonKey}</ReactMarkdown>
|
||||
</Text>
|
||||
</Group>
|
||||
)}
|
||||
{button.description && (
|
||||
<Text className={classes.description}>
|
||||
<ReactMarkdown components={MarkdownComponents}>{button.description}</ReactMarkdown>
|
||||
|
||||
Reference in New Issue
Block a user