graycoreio/daffodil

View on GitHub
libs/design/media-gallery/src/thumbnail/thumbnail-compat.token.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createSingleInjectionToken } from '@daffodil/core';

export const {
  /**
   * A multi provider injection token that marks a component as renderable for the `DaffMediaRendererComponent`.
   */
  token: daffThumbnailCompatToken,
  /**
   * Provider function for {@link daffThumbnailCompatToken}.
   */
  provider: provideDaffThumbnailCompatToken,
} = createSingleInjectionToken<unknown>('thumbnailCompatToken');