Skip to content

pantoken-root / formats/icons/src / resolve

Variable: resolve ​

const resolve: IconResolver

Beta

An IconResolver backed by the pantoken icon set (for the plugin/rehype stages).

Example ​

ts
import { resolve } from "@pantoken/icons";

resolve("arrow-left"); // { name, svg, viewBox, source } | undefined