UNPKG

fumadocs-core

Version:

The React.js library for building a documentation website

15 lines • 429 B
import { ShikiTransformer } from "shiki"; type CodeBlockIcon = { viewBox: string; fill: string; d: string; } | string; interface IconOptions { shortcuts?: Record<string, string>; extend?: Record<string, CodeBlockIcon>; } /** * Inject icons to `icon` property (as HTML) */ declare function transformerIcon(options?: IconOptions): ShikiTransformer; export { IconOptions as n, transformerIcon as r, CodeBlockIcon as t };