From c976e3ed630eef4d934d1b2269f2d0f275c128ce Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Thu, 21 Nov 2019 06:28:24 -0800 Subject: [PATCH] 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 --- src/utils/icons.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/utils/icons.js b/src/utils/icons.js index e7728a0ea..254c28e31 100644 --- a/src/utils/icons.js +++ b/src/utils/icons.js @@ -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