Type Alias UseAppHook

UseAppHook: (appId: string) => Doc | undefined

React hook that returns the Doc of an app based on the supplied app id

Type declaration

    • (appId: string): Doc | undefined
    • Parameters

      • appId: string

        The app id of the app (referred to as resourceId in the items api)

      Returns Doc | undefined