'use strict';

Object.defineProperty(exports, "__esModule", {
	value: true
});

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _reactBootstrap = require('react-bootstrap');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function Label(_ref) {
	var htmlFor = _ref.htmlFor,
	    text = _ref.text;

	return _react2.default.createElement(
		_reactBootstrap.Navbar.Text,
		null,
		_react2.default.createElement(
			'label',
			{ htmlFor: htmlFor },
			text
		)
	);
}

Label.propTypes = {
	htmlFor: _react2.default.PropTypes.string,
	text: _react2.default.PropTypes.string.isRequired
};

exports.default = Label;