@dxos/app-framework - v0.16.0
    Preparing search index...

    Variable useContributionsConst

    useContributions: (role: Role.Role<any>) => readonly Definition[] = useSurfaceContributions

    Type declaration

      • (role: Role.Role<any>): readonly Definition[]
      • The surfaces contributed for a role, subscribed: the caller re-renders when they change, so a check made with useIsSurfaceAvailable (which reads without subscribing) is repeated once a module loaded on demand contributes.

        Parameters

        Returns readonly Definition[]