From 24e6b3639f656c557a20c3b7eacf17487070e7c4 Mon Sep 17 00:00:00 2001 From: ghalestrilo Date: Tue, 21 Jul 2020 18:33:10 -0300 Subject: [PATCH] :bento: create --- client/common/icons.jsx | 2 ++ client/images/more.svg | 5 +++++ client/modules/IDE/pages/MobileIDEView.jsx | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 client/images/more.svg diff --git a/client/common/icons.jsx b/client/common/icons.jsx index bbc2a662..b0521f0c 100644 --- a/client/common/icons.jsx +++ b/client/common/icons.jsx @@ -12,6 +12,7 @@ import Exit from '../images/exit.svg'; import DropdownArrow from '../images/down-filled-triangle.svg'; import Preferences from '../images/preferences.svg'; import Play from '../images/triangle-arrow-right.svg'; +import More from '../images/more.svg'; // HOC that adds the right web accessibility props // https://www.scottohara.me/blog/2019/05/22/contextual-images-svgs-and-a11y.html @@ -74,3 +75,4 @@ export const ExitIcon = withLabel(Exit); export const DropdownArrowIcon = withLabel(DropdownArrow); export const PreferencesIcon = withLabel(Preferences); export const PlayIcon = withLabel(Play); +export const MoreIcon = withLabel(More); diff --git a/client/images/more.svg b/client/images/more.svg new file mode 100644 index 00000000..ee41de95 --- /dev/null +++ b/client/images/more.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/client/modules/IDE/pages/MobileIDEView.jsx b/client/modules/IDE/pages/MobileIDEView.jsx index 943c980e..f24eba76 100644 --- a/client/modules/IDE/pages/MobileIDEView.jsx +++ b/client/modules/IDE/pages/MobileIDEView.jsx @@ -19,7 +19,7 @@ import { getHTMLFile } from '../reducers/files'; // Local Imports import Editor from '../components/Editor'; -import { PreferencesIcon, PlayIcon, ExitIcon } from '../../../common/icons'; +import { PreferencesIcon, PlayIcon, ExitIcon, MoreIcon } from '../../../common/icons'; import IconButton from '../../../components/mobile/IconButton'; import Header from '../../../components/mobile/Header'; @@ -60,7 +60,7 @@ const MobileIDEView = (props) => { setOverlay('preferences')} - icon={PreferencesIcon} + icon={MoreIcon} aria-label="Open preferences menu" /> { startSketch(); }} icon={PlayIcon} aria-label="Run sketch" />