UNPKG

@carbon/react

Version:

React components for the Carbon Design System

33 lines (32 loc) 1.17 kB
/** * Copyright IBM Corp. 2016, 2026 * * 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 PropTypes from 'prop-types'; import { OverflowMenuProps } from '../OverflowMenu'; export type TableToolbarMenuProps = OverflowMenuProps; declare const TableToolbarMenu: { ({ className, renderIcon, iconDescription, children, menuOptionsClass, ...rest }: TableToolbarMenuProps): import("react/jsx-runtime").JSX.Element; propTypes: { children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>; /** * Provide an optional class name for the toolbar menu */ className: PropTypes.Requireable<string>; /** * The description of the menu icon. */ iconDescription: PropTypes.Requireable<string>; /** * Provide an optional class name for the toolbar menu */ menuOptionsClass: PropTypes.Requireable<string>; /** * A component used to render an icon. */ renderIcon: PropTypes.Requireable<object>; }; }; export default TableToolbarMenu;