Cache some more icons, used by several plugins

Summary: Cache icons commonly used by plugins.

Reviewed By: jknoxville

Differential Revision: D18595264

fbshipit-source-id: 31b287c909a397a93da1f3969627bcaded2afe8f
This commit is contained in:
Michel Weststrate
2019-11-21 06:28:24 -08:00
committed by Facebook Github Bot
parent f9f1d60267
commit c976e3ed63

View File

@@ -26,8 +26,10 @@ const ICONS = {
'chevron-down-outline': [10],
'chevron-down': [8, 12],
'chevron-up': [8, 12],
'chevron-right': [8],
'chevron-right': [8, 16],
'cross-circle': [16],
'dots-3-circle-outline': [16],
'flash-default': [12],
'info-circle': [16],
'magic-wand': [20],
'magnifying-glass': [16, 20],
@@ -50,17 +52,22 @@ const ICONS = {
checkmark: [16],
desktop: [12],
directions: [12],
download: [16],
internet: [12],
mobile: [12, 16, 32],
posts: [20],
power: [16],
profile: [12],
'refresh-left': [16],
rocket: [20],
settings: [12],
share: [16],
star: [12, 16, 24],
'star-slash': [16],
'life-event-major': [16],
target: [12, 16],
tools: [20],
tools: [12, 20],
'washing-machine': [12],
};
// Takes a string like 'star', or 'star-outline', and converts it to