From c7db98a66835a1ecee1cc52c9716221c75c0ba91 Mon Sep 17 00:00:00 2001 From: Kimmo Puputti Date: Mon, 11 Sep 2017 11:21:41 +0300 Subject: [PATCH] Add keys icon components --- src/components/KeysIcon/KeysIcon.js | 57 +++++++++++++++++++ .../KeysIconSuccess/KeysIconSuccess.js | 57 +++++++++++++++++++ src/components/index.js | 4 ++ 3 files changed, 118 insertions(+) create mode 100644 src/components/KeysIcon/KeysIcon.js create mode 100644 src/components/KeysIconSuccess/KeysIconSuccess.js diff --git a/src/components/KeysIcon/KeysIcon.js b/src/components/KeysIcon/KeysIcon.js new file mode 100644 index 00000000..559d2fbd --- /dev/null +++ b/src/components/KeysIcon/KeysIcon.js @@ -0,0 +1,57 @@ +import React, { PropTypes } from 'react'; + +const KeysIcon = props => { + const { className } = props; + return ( + + + + + + + + + + + + + + + ); +}; + +KeysIcon.defaultProps = { className: null }; + +const { string } = PropTypes; + +KeysIcon.propTypes = { + className: string, +}; + +export default KeysIcon; diff --git a/src/components/KeysIconSuccess/KeysIconSuccess.js b/src/components/KeysIconSuccess/KeysIconSuccess.js new file mode 100644 index 00000000..d4d450ec --- /dev/null +++ b/src/components/KeysIconSuccess/KeysIconSuccess.js @@ -0,0 +1,57 @@ +import React, { PropTypes } from 'react'; + +const KeysIconSuccess = props => { + const { className } = props; + return ( + + + + + + + + + + + ); +}; + +KeysIconSuccess.defaultProps = { className: null }; + +const { string } = PropTypes; + +KeysIconSuccess.propTypes = { + className: string, +}; + +export default KeysIconSuccess; diff --git a/src/components/index.js b/src/components/index.js index 7c381a91..1307d98a 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -19,6 +19,8 @@ import FilterPanel from './FilterPanel/FilterPanel'; import HeroSection from './HeroSection/HeroSection'; import ImageCarousel from './ImageCarousel/ImageCarousel'; import ImageFromFile from './ImageFromFile/ImageFromFile'; +import KeysIcon from './KeysIcon/KeysIcon'; +import KeysIconSuccess from './KeysIconSuccess/KeysIconSuccess'; import ListingCard from './ListingCard/ListingCard'; import LocationAutocompleteInput, { LocationAutocompleteInputField, @@ -88,6 +90,8 @@ export { ImageCarousel, ImageFromFile, InlineTextButton, + KeysIcon, + KeysIconSuccess, ListingCard, LocationAutocompleteInput, LocationAutocompleteInputField,