Browse Source

type: getContainer support return ShadowRoot type (#40206)

pull/42253/head
smallbun 2 years ago
committed by GitHub
parent
commit
c5ab19862a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/notification/interface.ts

2
components/notification/interface.ts

@ -47,7 +47,7 @@ export interface GlobalConfigProps {
bottom?: number;
duration?: number;
prefixCls?: string;
getContainer?: () => HTMLElement;
getContainer?: () => HTMLElement | ShadowRoot;
placement?: NotificationPlacement;
closeIcon?: React.ReactNode;
rtl?: boolean;

Loading…
Cancel
Save