Continuing updating the reformatting of propTypes and set redux, intl functions to end of component
• Removing: - the reformatting of propTypes and set redux, intl functions to end of component
This commit is contained in:
@@ -7,12 +7,7 @@ import { CX } from '../constants'
|
||||
* @param {bool} [props.isInvisible] - to style the tab bar larger
|
||||
* @param {bool} [props.isSmall] - if item is active
|
||||
*/
|
||||
export default class Divider extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
isInvisible: PropTypes.bool,
|
||||
isSmall: PropTypes.bool,
|
||||
}
|
||||
class Divider extends React.PureComponent {
|
||||
|
||||
render() {
|
||||
const { isSmall, isInvisible } = this.props
|
||||
@@ -29,4 +24,11 @@ export default class Divider extends React.PureComponent {
|
||||
return <div className={classes} />
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Divider.propTypes = {
|
||||
isInvisible: PropTypes.bool,
|
||||
isSmall: PropTypes.bool,
|
||||
}
|
||||
|
||||
export default Divider
|
||||
Reference in New Issue
Block a user