icons.tsx 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. import { registerIcons } from "@fluentui/react";
  2. import { AddCircleRegular, ArrowClockwiseRegular, ArrowRotateClockwiseRegular, ArrowRotateCounterclockwiseRegular, ArrowSortDownRegular, ArrowSortUpRegular, BookmarkRegular, BookSearchRegular, BoxRegular, BugRegular, CameraRegular, CheckmarkRegular, ChevronDownRegular, ChevronRightRegular, ChevronUpRegular, CircleRegular, CloudArrowDownRegular, CloudArrowUpRegular, CopyRegular, DeleteRegular, DocumentRegular, FilterRegular, FolderRegular, FullScreenMaximizeRegular, InfoRegular, LightbulbFilamentRegular, LightbulbRegular, MoreHorizontalRegular, NavigationRegular, OrientationRegular, PanelBottomRegular, PersonFeedbackRegular, PhoneLaptopRegular, PhoneRegular, PlayRegular, PlugConnectedRegular, PlugDisconnectedRegular, PowerRegular, SaveRegular, SearchRegular, SettingsRegular, Speaker1Regular, Speaker2Regular, SpeakerOffRegular, StopRegular, TextGrammarErrorRegular, WandRegular, WarningRegular, WifiSettingsRegular, WindowConsoleRegular } from '@fluentui/react-icons';
  3. const STYLE = {};
  4. export function register() {
  5. registerIcons({
  6. icons: {
  7. // General use
  8. AddCircle: <AddCircleRegular style={STYLE} />,
  9. ArrowClockwise: <ArrowClockwiseRegular style={STYLE} />,
  10. Bookmark: <BookmarkRegular style={STYLE} />,
  11. BookSearch: <BookSearchRegular style={STYLE} />,
  12. Box: <BoxRegular style={STYLE} />,
  13. Bug: <BugRegular style={STYLE} />,
  14. Camera: <CameraRegular style={STYLE} />,
  15. ChevronDown: <ChevronDownRegular style={STYLE} />,
  16. ChevronRight: <ChevronRightRegular style={STYLE} />,
  17. ChevronUp: <ChevronUpRegular style={STYLE} />,
  18. Circle: <CircleRegular style={STYLE} />,
  19. Copy: <CopyRegular style={STYLE} />,
  20. CloudArrowUp: <CloudArrowUpRegular style={STYLE} />,
  21. CloudArrowDown: <CloudArrowDownRegular style={STYLE} />,
  22. Delete: <DeleteRegular style={STYLE} />,
  23. Document: <DocumentRegular style={STYLE} />,
  24. Folder: <FolderRegular style={STYLE} />,
  25. FullScreenMaximize: <FullScreenMaximizeRegular style={STYLE} />,
  26. Info: <InfoRegular style={STYLE} />,
  27. Lightbulb: <LightbulbRegular style={STYLE} />,
  28. LightbulbFilament: <LightbulbFilamentRegular style={STYLE} />,
  29. Navigation: <NavigationRegular style={STYLE} />,
  30. Orientation: <OrientationRegular style={STYLE} />,
  31. PanelBottom: <PanelBottomRegular style={STYLE} />,
  32. PersonFeedback: <PersonFeedbackRegular style={STYLE} />,
  33. Phone: <PhoneRegular style={STYLE} />,
  34. PhoneLaptop: <PhoneLaptopRegular style={STYLE} />,
  35. Play: <PlayRegular style={STYLE} />,
  36. PlugConnected: <PlugConnectedRegular style={STYLE} />,
  37. PlugDisconnected: <PlugDisconnectedRegular style={STYLE} />,
  38. Power: <PowerRegular style={STYLE} />,
  39. RotateLeft: <ArrowRotateCounterclockwiseRegular style={STYLE} />,
  40. RotateRight: <ArrowRotateClockwiseRegular style={STYLE} />,
  41. Save: <SaveRegular style={STYLE} />,
  42. Settings: <SettingsRegular style={STYLE} />,
  43. Speaker1: <Speaker1Regular style={STYLE} />,
  44. Speaker2: <Speaker2Regular style={STYLE} />,
  45. SpeakerOff: <SpeakerOffRegular style={STYLE} />,
  46. Stop: <StopRegular style={STYLE} />,
  47. TextGrammarError: <TextGrammarErrorRegular style={STYLE} />,
  48. Wand: <WandRegular style={STYLE} />,
  49. Warning: <WarningRegular style={STYLE} />,
  50. WifiSettings: <WifiSettingsRegular style={STYLE} />,
  51. WindowConsole: <WindowConsoleRegular style={STYLE} />,
  52. // Required by @fluentui/react
  53. Checkmark: <CheckmarkRegular style={STYLE} />,
  54. StatusCircleCheckmark: <CheckmarkRegular style={STYLE} />,
  55. ChevronUpSmall: <ChevronUpRegular style={STYLE} />,
  56. ChevronDownSmall: <ChevronDownRegular style={STYLE} />,
  57. CircleRing: <CircleRegular style={STYLE} />,
  58. More: <MoreHorizontalRegular />,
  59. SortUp: <ArrowSortUpRegular style={STYLE} />,
  60. SortDown: <ArrowSortDownRegular style={STYLE} />,
  61. Search: <SearchRegular style={STYLE} />,
  62. Filter: <FilterRegular style={STYLE} />,
  63. // Required by file manager page
  64. Document20: <DocumentRegular style={{ fontSize: 20, verticalAlign: 'middle' }} />
  65. }
  66. });
  67. }
  68. const Icons = {
  69. AddCircle: 'AddCircle',
  70. ArrowClockwise: 'ArrowClockwise',
  71. Bookmark: 'Bookmark',
  72. BookSearch: 'BookSearch',
  73. Box: 'Box',
  74. Bug: 'Bug',
  75. Camera: 'Camera',
  76. Copy: 'Copy',
  77. Circle: 'Circle',
  78. ChevronDown: 'ChevronDown',
  79. ChevronRight: 'ChevronRight',
  80. ChevronUp: 'ChevronUp',
  81. CloudArrowUp: 'CloudArrowUp',
  82. CloudArrowDown: 'CloudArrowDown',
  83. Delete: 'Delete',
  84. Document: 'Document',
  85. Folder: 'Folder',
  86. FullScreenMaximize: 'FullScreenMaximize',
  87. Lightbulb: 'Lightbulb',
  88. LightbulbFilament: 'LightbulbFilament',
  89. Info: 'Info',
  90. Navigation: 'Navigation',
  91. Orientation: 'Orientation',
  92. PanelBottom: 'PanelBottom',
  93. PersonFeedback: 'PersonFeedback',
  94. Phone: 'Phone',
  95. PhoneLaptop: 'PhoneLaptop',
  96. Play: 'Play',
  97. PlugConnected: 'PlugConnected',
  98. PlugDisconnected: 'PlugDisconnected',
  99. Power: 'Power',
  100. RotateLeft: 'RotateLeft',
  101. RotateRight: 'RotateRight',
  102. Save: 'Save',
  103. Settings: 'Settings',
  104. Speaker1: 'Speaker1',
  105. Speaker2: 'Speaker2',
  106. SpeakerOff: 'SpeakerOff',
  107. Stop: 'Stop',
  108. TextGrammarError: 'TextGrammarError',
  109. Wand: 'Wand',
  110. Warning: 'Warning',
  111. WifiSettings: 'WifiSettings',
  112. WindowConsole: 'WindowConsole',
  113. Document20: 'Document20'
  114. };
  115. export default Icons;