@carbon/ibm-products
Version:
Carbon for IBM Products
34 lines (29 loc) • 1.05 kB
JavaScript
/**
* Copyright IBM Corp. 2020, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
;
var index = require('../../../_virtual/index.js');
var React = require('react');
/**
* The combo button item provides additional actions a user can take.
*/
const ComboButtonItem = _ref => {
let {
...rest
} = _ref;
return /*#__PURE__*/React.createElement("span", rest);
};
ComboButtonItem.propTypes = {
/** Provide the contents of the `ComboButtonItem` */
children: index.propTypesExports.node.isRequired,
/** Specify whether the `ComboButton` should be disabled, or not */
disabled: index.propTypesExports.bool,
/** Provide an optional `href` for the `ComboButtonItem` to become an `a` element */
href: index.propTypesExports.string,
/** Provide an optional icon to render */
renderIcon: index.propTypesExports.oneOfType([index.propTypesExports.func, index.propTypesExports.object])
};
exports.ComboButtonItem = ComboButtonItem;