From e0cf09eede24fa47716033fbbab617aa49d1171c Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Fri, 28 Aug 2015 21:37:30 -0300 Subject: [PATCH] [Ivan Diaz] - Remove tab character --- src/core-components/button.js | 52 +++++++++++++++++------------------ src/core-components/widget.js | 34 +++++++++++------------ 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/src/core-components/button.js b/src/core-components/button.js index 75a5999f..a5b5af0f 100644 --- a/src/core-components/button.js +++ b/src/core-components/button.js @@ -8,37 +8,37 @@ import classNames from 'classnames'; var Button = React.createClass({ - propTypes: { - children: React.PropTypes.node, - type: React.PropTypes.oneOf([ - 'primary' - ]) - }, + propTypes: { + children: React.PropTypes.node, + type: React.PropTypes.oneOf([ + 'primary' + ]) + }, - getDefaultProps() { - return { - type: 'primary' - }; - }, + getDefaultProps() { + return { + type: 'primary' + }; + }, - render() { - return ( - - ); - }, + render() { + return ( + + ); + }, - getClass() { - var classes = { - 'button': true - }; + getClass() { + var classes = { + 'button': true + }; - classes['button-' + this.props.type] = (this.props.type); - classes[this.props.className] = (this.props.className); + classes['button-' + this.props.type] = (this.props.type); + classes[this.props.className] = (this.props.className); - return classNames(classes); - } + return classNames(classes); + } }); export default Button; \ No newline at end of file diff --git a/src/core-components/widget.js b/src/core-components/widget.js index 098bccf7..2585eebe 100644 --- a/src/core-components/widget.js +++ b/src/core-components/widget.js @@ -2,27 +2,27 @@ import React from 'react/addons'; import classNames from 'classnames'; var Widget = React.createClass({ - propTypes: { - children: React.PropTypes.node.isRequired - }, + propTypes: { + children: React.PropTypes.node.isRequired + }, - render() { - return ( -
- {this.props.children} -
- ); - }, + render() { + return ( +
+ {this.props.children} +
+ ); + }, - getClass() { - var classes = { - 'widget': true - }; + getClass() { + var classes = { + 'widget': true + }; - classes[this.props.className] = (this.props.className); + classes[this.props.className] = (this.props.className); - return classNames(classes); - } + return classNames(classes); + } }); export default Widget; \ No newline at end of file