Skip to content

Commit 24e6b36

Browse files
committed
🍱 create <MoreIcon />
1 parent b3e88aa commit 24e6b36

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

client/common/icons.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import Exit from '../images/exit.svg';
1212
import DropdownArrow from '../images/down-filled-triangle.svg';
1313
import Preferences from '../images/preferences.svg';
1414
import Play from '../images/triangle-arrow-right.svg';
15+
import More from '../images/more.svg';
1516

1617
// HOC that adds the right web accessibility props
1718
// https://www.scottohara.me/blog/2019/05/22/contextual-images-svgs-and-a11y.html
@@ -74,3 +75,4 @@ export const ExitIcon = withLabel(Exit);
7475
export const DropdownArrowIcon = withLabel(DropdownArrow);
7576
export const PreferencesIcon = withLabel(Preferences);
7677
export const PlayIcon = withLabel(Play);
78+
export const MoreIcon = withLabel(More);

client/images/more.svg

Lines changed: 5 additions & 0 deletions
Loading

client/modules/IDE/pages/MobileIDEView.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { getHTMLFile } from '../reducers/files';
1919

2020
// Local Imports
2121
import Editor from '../components/Editor';
22-
import { PreferencesIcon, PlayIcon, ExitIcon } from '../../../common/icons';
22+
import { PreferencesIcon, PlayIcon, ExitIcon, MoreIcon } from '../../../common/icons';
2323

2424
import IconButton from '../../../components/mobile/IconButton';
2525
import Header from '../../../components/mobile/Header';
@@ -60,7 +60,7 @@ const MobileIDEView = (props) => {
6060
<IconButton
6161
to="/mobile/preferences"
6262
onClick={() => setOverlay('preferences')}
63-
icon={PreferencesIcon}
63+
icon={MoreIcon}
6464
aria-label="Open preferences menu"
6565
/>
6666
<IconButton to="/mobile/preview" onClick={() => { startSketch(); }} icon={PlayIcon} aria-label="Run sketch" />

0 commit comments

Comments
 (0)