mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
fix: adjust notification default place in rtl (#24632)
This commit is contained in:
parent
19ca646ef3
commit
b047add305
@ -46,6 +46,8 @@ function setNotificationConfig(options: ConfigProps) {
|
||||
}
|
||||
if (placement !== undefined) {
|
||||
defaultPlacement = placement;
|
||||
} else if (options.rtl) {
|
||||
defaultPlacement = 'topLeft';
|
||||
}
|
||||
if (bottom !== undefined) {
|
||||
defaultBottom = bottom;
|
||||
|
Loading…
Reference in New Issue
Block a user