mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 23:16:03 +01:00
refactor(web/dialog): use fade transition
This commit is contained in:
@@ -52,6 +52,7 @@ const AlertDialog: React.FC = () => {
|
||||
withCloseButton={false}
|
||||
overlayOpacity={0.5}
|
||||
exitTransitionDuration={150}
|
||||
transition="fade"
|
||||
title={<ReactMarkdown>{dialogData.header}</ReactMarkdown>}
|
||||
>
|
||||
<Stack>
|
||||
|
||||
@@ -75,6 +75,7 @@ const InputDialog: React.FC = () => {
|
||||
title={fields.heading}
|
||||
withCloseButton={false}
|
||||
overlayOpacity={0.5}
|
||||
transition="fade"
|
||||
exitTransitionDuration={150}
|
||||
>
|
||||
<Stack>
|
||||
|
||||
Reference in New Issue
Block a user