- Popover(props): ReactNode
Parameters
props: {
children: ReactElement<any, string | JSXElementConstructor<any>>;
content: ReactNode;
defaultVisible?: boolean;
destroyOnHide?: boolean;
getContainer?: GetContainer;
mode?: "dark" | "light";
onVisibleChange?: ((visible) => void);
placement?: DeprecatedPlacement | Placement;
stopPropagation?: "click"[];
trigger?: "click";
visible?: boolean;
} & {
className?: string;
style?: CSSProperties & Partial<Record<"--z-index" | "--arrow-size", string>>;
tabIndex?: number;
} & AriaAttributes & RefAttributes<PopoverRef>
Returns ReactNode
Properties
Readonly $$typeof
$$typeof: symbol
Menu
Menu: ForwardRefExoticComponent<Omit<Antdm.PopoverProps, "content"> & { actions: Action[]; maxCount?: number; onAction?: ((item) => void); } & RefAttributes<PopoverRef>> Optional defaultProps
defaultProps?: Partial<{ children: ReactElement<any, string | JSXElementConstructor<any>>; content: ReactNode; defaultVisible?: boolean; destroyOnHide?: boolean; getContainer?: GetContainer; mode?: "dark" | "light"; onVisibleChange?: ((visible) => void); placement?: DeprecatedPlacement | Placement; stopPropagation?: "click"[]; trigger?: "click"; visible?: boolean; } & { className?: string; style?: CSSProperties & Partial<Record<"--z-index" | "--arrow-size", string>>; tabIndex?: number; } & AriaAttributes & RefAttributes<PopoverRef>> Optional displayName
displayName?: string
Optional propTypes
propTypes?: WeakValidationMap<{ children: ReactElement<any, string | JSXElementConstructor<any>>; content: ReactNode; defaultVisible?: boolean; destroyOnHide?: boolean; getContainer?: GetContainer; mode?: "dark" | "light"; onVisibleChange?: ((visible) => void); placement?: DeprecatedPlacement | Placement; stopPropagation?: "click"[]; trigger?: "click"; visible?: boolean; } & { className?: string; style?: CSSProperties & Partial<Record<"--z-index" | "--arrow-size", string>>; tabIndex?: number; } & AriaAttributes & RefAttributes<PopoverRef>>
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.