Skip to content

Report a problem:

Problems can be reported via Microsoft Teams in your team channel within the "IT - Codey" team.

Please include the following information:

Report type:
Docs problem report a bug instead →
Path:
/latest/docs/style/helpers/getCodeyImageUrl.html
Message:

DESCRIBE THE PROBLEM BEFORE SUBMITTING TO CODEY

getCodeyImageUrl

TODO

Move this to the correct section as it is no longer part of the style package.

Images are published to our cdn in different folders depending on the image theme.
This helper will return the correct url for the image based on the image name and the theme it is part of.

The supported folders are provided by the CodeyImageTheme type.

Usage

ts
import { getCodeyImageUrl } from "@xerius/codey-assets";

// Get `logo-name` image url from the `xerius` theme.
const logoUrl = getCodeyImageUrl("xerius", "logo-name");

Report a problem:

Problems can be reported via Microsoft Teams in your team channel within the "IT - Codey" team.

Please include the following information:

Report type:
Docs problem report a bug instead →
Path:
/latest/docs/style/helpers/getCodeyImageUrl.html
Message:

DESCRIBE THE PROBLEM BEFORE SUBMITTING TO CODEY

Last updated: