withStatusFieldProps Function

HOC that injects values for StatusFieldProps.

withStatusFieldProps<P extends StatusFieldProps, C>(Component: (props: P) => | ReactElement<any, string | JSXElementConstructor<any>> & C & (props: P) => Component<P, any, any> & C): (props: LibraryManagedAttributes<C, Omit<P, "isInFooterMode" | "onOpenWidget" | "openWidget">>) => Element

Parameter Type Description
Component (props: P) => | ReactElement<any, string | JSXElementConstructor<any>> & C & (props: P) => Component<P, any, any> & C  

Returns - (props: LibraryManagedAttributes<C, Omit<P, "isInFooterMode" | "onOpenWidget" | "openWidget">>) => Element

Defined in

Last Updated: 12 June, 2024