From d3f009ecc6f1bf8e4c0cdbc124688df9ec3a1af2 Mon Sep 17 00:00:00 2001 From: SebDez Date: Sun, 1 Jan 2017 22:40:27 +0100 Subject: [PATCH] set land card with dropdown styled --- .../component/main-lang-menu-component.js | 47 ------------------- .../component/main-lang-toggle-component.js | 47 ------------------- 2 files changed, 94 deletions(-) delete mode 100644 src/app/module/main/component/main-lang-menu-component.js delete mode 100644 src/app/module/main/component/main-lang-toggle-component.js diff --git a/src/app/module/main/component/main-lang-menu-component.js b/src/app/module/main/component/main-lang-menu-component.js deleted file mode 100644 index bd588f9..0000000 --- a/src/app/module/main/component/main-lang-menu-component.js +++ /dev/null @@ -1,47 +0,0 @@ -import React from 'react' -import LucioleComponent from './../../../common/core/abstract/luciole-component' - -/** - * MainLangMenu Component - */ -class MainLangMenu extends LucioleComponent { - - /** - * Create a new MainLangMenu component - * @param {Object} props The component properties - * @param {Object} context The app context - */ - /* istanbul ignore next */ - constructor (props, context) { - super(props, context) - - this.value = '' - } - - /** - * Render the component - * @return {Object} React component tree - */ - render () { - return ( -
- -
- ) - } -} - -/** - * The component properties' types - * @type {Object} - */ -MainLangMenu.propTypes = {} - -/** - * Export the component - */ -export default MainLangMenu diff --git a/src/app/module/main/component/main-lang-toggle-component.js b/src/app/module/main/component/main-lang-toggle-component.js deleted file mode 100644 index 6ed7f79..0000000 --- a/src/app/module/main/component/main-lang-toggle-component.js +++ /dev/null @@ -1,47 +0,0 @@ -import React from 'react' -import LucioleComponent from './../../../common/core/abstract/luciole-component' - -/** - * MainLangToggle Component - */ -class MainLangToggle extends LucioleComponent { - - /** - * Create a new MainLangToggle component - * @param {Object} props The component properties - * @param {Object} context The app context - */ - /* istanbul ignore next */ - constructor (props, context) { - super(props, context) - this._bindThisToMethods('handleClick') - } - - handleClick (e) { - e.preventDefault() - this.props.onClick(e) - } - - /** - * Render the component - * @return {Object} React component tree - */ - render () { - return ( -
- {this.props.children} -
- ) - } -} - -/** - * The component properties' types - * @type {Object} - */ -MainLangToggle.propTypes = {} - -/** - * Export the component - */ -export default MainLangToggle