@carbon/react
Version:
React components for the Carbon Design System
20 lines (19 loc) • 735 B
TypeScript
/**
* 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 React from 'react';
export interface TableToolbarActionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'> {
/**
* Pass in the children that will be rendered inside the TableToolbarAction
*/
children?: React.ReactNode;
/**
* onClick handler for the TableToolbarAction
*/
onClick: (event: React.MouseEvent<HTMLDivElement>) => void;
}
declare const TableToolbarAction: React.ForwardRefExoticComponent<TableToolbarActionProps & React.RefAttributes<HTMLDivElement>>;
export default TableToolbarAction;