withMessageCenterFieldProps Function
HOC that injects values for MessageCenterFieldProps.
withMessageCenterFieldProps<P extends MessageCenterFieldProps, C>(Component: (props: P) => | ReactElement<any, any> & C & (props: P) => Component<any, any, any> & C): (props: LibraryManagedAttributes<C, Omit<P, "isInFooterMode" | "onOpenWidget" | "openWidget" | "targetRef">>) => Element
Parameter | Type | Description |
---|---|---|
Component | (props: P) => | ReactElement<any, any> & C & (props: P) => Component<any, any, any> & C |
Returns - (props: LibraryManagedAttributes<C, Omit<P, "isInFooterMode" | "onOpenWidget" | "openWidget" | "targetRef">>) => Element
Defined in
Last Updated: 30 November, 2023