UNPKG

admin-bro

Version:
12 lines (11 loc) 348 B
import { ResourceJSON } from '../../interfaces/resource-json.interface'; /** * @load ./use-resource.doc.md * @subcategory Hooks * @class * @hideconstructor * @new in version 3.3 * @bundle * @param {string} resourceId Id of a resource you want to get */ export declare const useResource: (resourceId: string) => ResourceJSON | undefined;