DsImages

interface DsImages

Interface for application graphics assets/images. Client enum keys should implement this interface.

Inheritors

Properties

Link copied to clipboard
val DsImages.uiImage: UIImage

Resolves and loads this DsImages key to a native iOS UIImage instance from our bundle.

Functions

Link copied to clipboard
@Composable
actual fun DsImages.toCoilModel(): Any

Resolves the DsImages asset to a platform-specific model suitable for third-party image loading libraries (such as Coil, Kamel, etc.) without introducing direct library dependencies into the design system.

@Composable
expect fun DsImages.toCoilModel(): Any

Resolves the DsImages asset to a platform-specific model suitable for third-party image loading libraries (such as Coil, Kamel, etc.) without introducing direct library dependencies into the design system.

actual fun DsImages.toCoilModel(): Any

Resolves the DsImages asset to a platform-specific model suitable for third-party image loading libraries (such as Coil, Kamel, etc.) without introducing direct library dependencies into the design system.