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