/** * Copyright IBM Corp. 2016, 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 PropTypes from 'prop-types'; import React from 'react'; export interface TableBatchActionProps extends React.ButtonHTMLAttributes { /** * Specify if the button is an icon-only button */ hasIconOnly?: boolean; /** * If specifying the `renderIcon` prop, provide a description for that icon that can * be read by screen readers */ iconDescription?: string; /** * A component used to render an icon. */ renderIcon?: React.ElementType; } declare const TableBatchAction: { ({ renderIcon, iconDescription, ...props }: TableBatchActionProps): import("react/jsx-runtime").JSX.Element; propTypes: { /** * Specify if the button is an icon-only button */ hasIconOnly: PropTypes.Requireable; /** * If specifying the `renderIcon` prop, provide a description for that icon that can * be read by screen readers */ iconDescription: (props: any) => Error | undefined; /** * A component used to render an icon. */ renderIcon: PropTypes.Requireable; }; }; export default TableBatchAction;