mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 07:26:02 +01:00
refactor(web/input): input dialog mantine rewrite
This commit is contained in:
@@ -57,13 +57,7 @@ const AlertDialog: React.FC = () => {
|
||||
<ReactMarkdown>{dialogData.content}</ReactMarkdown>
|
||||
<Group position="right" spacing={10}>
|
||||
{dialogData.cancel && (
|
||||
<Button
|
||||
uppercase
|
||||
variant="default"
|
||||
sx={{ transition: '150ms' }}
|
||||
onClick={() => closeAlert('cancel')}
|
||||
mr={3}
|
||||
>
|
||||
<Button uppercase variant="default" onClick={() => closeAlert('cancel')} mr={3}>
|
||||
{dialogData.labels?.cancel || locale.ui.cancel}
|
||||
</Button>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user