PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / Notifications / icons.js

icons.js in Extendify trunk, at src/Notifications/icons.js

59 lines 638 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import {
2 bell,
3 box,
4 calendar,
5 caution,
6 check,
7 cog,
8 dashboard,
9 error,
10 gift,
11 globe,
12 help,
13 info,
14 key,
15 lock,
16 mapMarker,
17 notAllowed,
18 payment,
19 plusCircle,
20 published,
21 receipt,
22 scheduled,
23 starFilled,
24 tag,
25 tool,
26 trendingUp,
27 } from '@wordpress/icons';
28
29 const ICONS = {
30 bell,
31 box,
32 calendar,
33 caution,
34 check,
35 cog,
36 dashboard,
37 error,
38 gift,
39 globe,
40 help,
41 info,
42 key,
43 lock,
44 mapMarker,
45 notAllowed,
46 payment,
47 plusCircle,
48 published,
49 receipt,
50 scheduled,
51 starFilled,
52 tag,
53 tool,
54 trendingUp,
55 };
56
57 // An unbundled name renders nothing rather than a broken glyph.
58 export const iconFor = (name) => ICONS[name] ?? null;
59