2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

Allow for customization of header dropdown icons

This commit is contained in:
Robin Ward 2017-09-07 11:18:59 -04:00
parent 8e88bf019f
commit 0ba789de17
3 changed files with 5 additions and 3 deletions

View file

@ -6,7 +6,9 @@ const REPLACEMENTS = {
'd-muted': 'times-circle',
'd-regular': 'circle-o',
'd-watching': 'exclamation-circle',
'd-watching-first': 'dot-circle-o'
'd-watching-first': 'dot-circle-o',
'd-drop-expanded': 'caret-down',
'd-drop-collapsed': 'caret-right',
};
export function renderIcon(renderType, id, params) {