@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
19 lines (18 loc) • 678 B
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import React from 'react';
import { ForwardRefReturn } from '../../types/common';
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;
}
export type TableToolbarActionComponent = ForwardRefReturn<HTMLDivElement, TableToolbarActionProps>;
declare const TableToolbarAction: TableToolbarActionComponent;
export default TableToolbarAction;