From 7a0fccf4172e5a4d152b83356645b155f2ae1590 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 12 Dec 2016 18:30:05 +0100 Subject: [PATCH] Add shared icons --- js/src/ui/Icons/icons.js | 31 +++++++++++++++++++++++++++++++ js/src/ui/Icons/index.js | 17 +++++++++++++++++ js/src/ui/index.js | 2 ++ 3 files changed, 50 insertions(+) create mode 100644 js/src/ui/Icons/icons.js create mode 100644 js/src/ui/Icons/index.js diff --git a/js/src/ui/Icons/icons.js b/js/src/ui/Icons/icons.js new file mode 100644 index 000000000..b9cf70ba0 --- /dev/null +++ b/js/src/ui/Icons/icons.js @@ -0,0 +1,31 @@ +// 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 new file mode 100644 index 000000000..3d68a7e6b --- /dev/null +++ b/js/src/ui/Icons/index.js @@ -0,0 +1,17 @@ +// 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 . + +export * from './icons'; diff --git a/js/src/ui/index.js b/js/src/ui/index.js index e1ebb16a6..d7875b72b 100644 --- a/js/src/ui/index.js +++ b/js/src/ui/index.js @@ -33,6 +33,7 @@ import Errors from './Errors'; import Form, { AddressSelect, FormWrap, TypedInput, Input, InputAddress, InputAddressSelect, InputChip, InputInline, Select, RadioButtons } from './Form'; import GasPriceEditor from './GasPriceEditor'; import GasPriceSelector from './GasPriceSelector'; +import Icons from './Icons'; import IdentityIcon from './IdentityIcon'; import IdentityName from './IdentityName'; import LanguageSelector from './LanguageSelector'; @@ -72,6 +73,7 @@ export { FormWrap, GasPriceEditor, GasPriceSelector, + Icons, Input, InputAddress, InputAddressSelect,