// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.
export default class SettingItemMin extends React.Component {
render() {
let editButton = null;
if (!this.props.disableOpen) {
editButton = (
Edit
);
}
return (
- {this.props.title}
{editButton}
- {this.props.describe}
);
}
}
SettingItemMin.propTypes = {
title: React.PropTypes.string,
disableOpen: React.PropTypes.bool,
updateSection: React.PropTypes.func,
describe: React.PropTypes.string
};