(loadingProp?: Loading_Enum | string)
| 86 | * Whether the calling component should currently be in the loaded state. |
| 87 | */ |
| 88 | export function useLoading(loadingProp?: Loading_Enum | string): Loading_Enum { |
| 89 | const {loading: loadingContext} = useAmpContext(); |
| 90 | return loadingReducer(loadingProp, loadingContext); |
| 91 | } |
no test coverage detected