Skip to content

pantoken / renderers/tinymce/src / getIconCdnFile

Function: getIconCdnFile()

getIconCdnFile(icon): object

Compute the CdnFile for an icon given its source. Returns { package, path } for use with @pantoken/cdn's buildFileUrl.

Parameters

icon

TaggedIcon

Returns

object

package

package: string

path

path: string