getContentTypeIcon

Function

Compute the content type calcite-icon based on the content type

Compute the content type calcite-icon based on the content type

  • getContentTypeIcon(contentType: string) : any

Parameters

Parameter Type Default Notes
contentType Required string

Returns

content type icon

any

Function defined in common/src/content/compose.ts:227