@carbon/ibm-products
Version:
Carbon for IBM Products
32 lines (28 loc) • 1.02 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.
*/
import { p as propTypesExports } from '../../../_virtual/index.js';
import React__default from 'react';
/**
* The combo button item provides additional actions a user can take.
*/
const ComboButtonItem = _ref => {
let {
...rest
} = _ref;
return /*#__PURE__*/React__default.createElement("span", rest);
};
ComboButtonItem.propTypes = {
/** Provide the contents of the `ComboButtonItem` */
children: propTypesExports.node.isRequired,
/** Specify whether the `ComboButton` should be disabled, or not */
disabled: propTypesExports.bool,
/** Provide an optional `href` for the `ComboButtonItem` to become an `a` element */
href: propTypesExports.string,
/** Provide an optional icon to render */
renderIcon: propTypesExports.oneOfType([propTypesExports.func, propTypesExports.object])
};
export { ComboButtonItem };