UNPKG

atom-nuclide

Version:

A unified developer experience for web and mobile development, built as a suite of features on top of Atom to provide hackability and the support of an active community.

40 lines (32 loc) 996 B
Object.defineProperty(exports, '__esModule', { value: true }); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } /* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the license found in the LICENSE file in * the root directory of this source tree. */ var _classnames2; function _classnames() { return _classnames2 = _interopRequireDefault(require('classnames')); } var _reactForAtom2; function _reactForAtom() { return _reactForAtom2 = require('react-for-atom'); } /** * Visually groups Buttons passed in as children. */ var ButtonToolbar = function ButtonToolbar(props) { var children = props.children; var className = props.className; return (_reactForAtom2 || _reactForAtom()).React.createElement( 'div', { className: (0, (_classnames2 || _classnames()).default)('btn-toolbar', className) }, children ); }; exports.ButtonToolbar = ButtonToolbar;