• Render a loader animation if showLoader is true, else show children of

    Parameters

    • props: PropsWithChildren<LoaderProps>
    • Optional context: any

    Returns null | ReactElement<any, any>

    Example

    <Loader showLoader={true}>{children}</Loader>
    <Loader showLoader={true}></Loader>

Generated using TypeDoc