From 88d824ff74bbb98b2f785822eeb22f75ba4644e0 Mon Sep 17 00:00:00 2001 From: zoubingwu Date: Thu, 2 Jan 2025 14:40:14 +0800 Subject: [PATCH] [docs] Update ModalBase default transition value from 'pop' to 'fade-down' --- packages/@mantine/core/src/components/ModalBase/ModalBase.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@mantine/core/src/components/ModalBase/ModalBase.tsx b/packages/@mantine/core/src/components/ModalBase/ModalBase.tsx index 4f3bda434f..36224a4543 100644 --- a/packages/@mantine/core/src/components/ModalBase/ModalBase.tsx +++ b/packages/@mantine/core/src/components/ModalBase/ModalBase.tsx @@ -51,7 +51,7 @@ export interface ModalBaseProps extends BoxProps, ElementProps<'div', 'title'> { /** Determines whether the modal/drawer should be closed when user clicks on the overlay, `true` by default */ closeOnClickOutside?: boolean; - /** Props added to the `Transition` component that used to animate overlay and body, use to configure duration and animation type, `{ duration: 200, transition: 'pop' }` by default */ + /** Props added to the `Transition` component that used to animate overlay and body, use to configure duration and animation type, `{ duration: 200, transition: 'fade-down' }` by default */ transitionProps?: TransitionOverride; /** Called when exit transition ends */