From 51b544c2db8e25a035ec3b1ffe089323dbb57a5f Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 12 Dec 2016 23:53:29 +0100 Subject: [PATCH] Simplify icon exports --- js/src/ui/Icons/icons.js | 31 ------------------------------- js/src/ui/Icons/index.js | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 32 deletions(-) delete mode 100644 js/src/ui/Icons/icons.js diff --git a/js/src/ui/Icons/icons.js b/js/src/ui/Icons/icons.js deleted file mode 100644 index b9cf70ba0..000000000 --- a/js/src/ui/Icons/icons.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015, 2016 Parity Technologies (UK) Ltd. -// This file is part of Parity. - -// Parity is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// Parity is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Parity. If not, see . - -import AddIcon from 'material-ui/svg-icons/content/add'; -import CancelIcon from 'material-ui/svg-icons/content/clear'; -import DoneIcon from 'material-ui/svg-icons/action/done-all'; -import PrevIcon from 'material-ui/svg-icons/navigation/arrow-back'; -import NextIcon from 'material-ui/svg-icons/navigation/arrow-forward'; -import SnoozeIcon from 'material-ui/svg-icons/av/snooze'; - -export { - AddIcon, - CancelIcon, - DoneIcon, - PrevIcon, - NextIcon, - SnoozeIcon -}; diff --git a/js/src/ui/Icons/index.js b/js/src/ui/Icons/index.js index 3d68a7e6b..b9cf70ba0 100644 --- a/js/src/ui/Icons/index.js +++ b/js/src/ui/Icons/index.js @@ -14,4 +14,18 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -export * from './icons'; +import AddIcon from 'material-ui/svg-icons/content/add'; +import CancelIcon from 'material-ui/svg-icons/content/clear'; +import DoneIcon from 'material-ui/svg-icons/action/done-all'; +import PrevIcon from 'material-ui/svg-icons/navigation/arrow-back'; +import NextIcon from 'material-ui/svg-icons/navigation/arrow-forward'; +import SnoozeIcon from 'material-ui/svg-icons/av/snooze'; + +export { + AddIcon, + CancelIcon, + DoneIcon, + PrevIcon, + NextIcon, + SnoozeIcon +};