Skip to content

Commit ebb9525

Browse files
committed
👌 move icons to common/icons
1 parent ec8566f commit ebb9525

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

client/common/icons.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import Plus from '../images/plus-icon.svg';
1010
import Close from '../images/close.svg';
1111
import Exit from '../images/exit.svg';
1212
import DropdownArrow from '../images/down-filled-triangle.svg';
13+
import Preferences from '../images/preferences.svg';
14+
import Play from '../images/triangle-arrow-right.svg';
1315

1416
// HOC that adds the right web accessibility props
1517
// https://www.scottohara.me/blog/2019/05/22/contextual-images-svgs-and-a11y.html
@@ -70,3 +72,5 @@ export const PlusIcon = withLabel(Plus);
7072
export const CloseIcon = withLabel(Close);
7173
export const ExitIcon = withLabel(Exit);
7274
export const DropdownArrowIcon = withLabel(DropdownArrow);
75+
export const PreferencesIcon = withLabel(Preferences);
76+
export const PlayIcon = withLabel(Play);

client/modules/IDE/pages/IDEViewMobile.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ import { getHTMLFile } from '../reducers/files';
2323
import Editor from '../components/Editor';
2424
import { ExitIcon } from '../../../common/icons';
2525

26-
import PreferencesIcon from '../../../images/preferences.svg';
27-
import PlayIcon from '../../../images/triangle-arrow-right.svg';
26+
import { PreferencesIcon, PlayIcon } from '../../../common/icons';
2827

2928
import IconButton from '../../../components/mobile/IconButton';
3029
import Header from '../../../components/mobile/Header';

0 commit comments

Comments
 (0)