👌 move icons to common/icons
This commit is contained in:
parent
ec8566feee
commit
ebb952527c
2 changed files with 5 additions and 2 deletions
|
@ -10,6 +10,8 @@ import Plus from '../images/plus-icon.svg';
|
|||
import Close from '../images/close.svg';
|
||||
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';
|
||||
|
||||
// HOC that adds the right web accessibility props
|
||||
// https://www.scottohara.me/blog/2019/05/22/contextual-images-svgs-and-a11y.html
|
||||
|
@ -70,3 +72,5 @@ export const PlusIcon = withLabel(Plus);
|
|||
export const CloseIcon = withLabel(Close);
|
||||
export const ExitIcon = withLabel(Exit);
|
||||
export const DropdownArrowIcon = withLabel(DropdownArrow);
|
||||
export const PreferencesIcon = withLabel(Preferences);
|
||||
export const PlayIcon = withLabel(Play);
|
||||
|
|
|
@ -23,8 +23,7 @@ import { getHTMLFile } from '../reducers/files';
|
|||
import Editor from '../components/Editor';
|
||||
import { ExitIcon } from '../../../common/icons';
|
||||
|
||||
import PreferencesIcon from '../../../images/preferences.svg';
|
||||
import PlayIcon from '../../../images/triangle-arrow-right.svg';
|
||||
import { PreferencesIcon, PlayIcon } from '../../../common/icons';
|
||||
|
||||
import IconButton from '../../../components/mobile/IconButton';
|
||||
import Header from '../../../components/mobile/Header';
|
||||
|
|
Loading…
Reference in a new issue