@carbon/ibm-products
Version:
Carbon for IBM Products
19 lines (18 loc) • 662 B
TypeScript
/**
* Copyright IBM Corp. 2023, 2023
*
* 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, { PropsWithChildren } from 'react';
export interface TooltipTriggerProps extends PropsWithChildren {
/**
* Provide an optional class to be applied to the containing node.
*/
className?: string;
}
/**
* This is an tooltip trigger as Carbon Tooltip requires an active element to work but provides
* no blanked button.
*/
export declare let TooltipTrigger: React.ForwardRefExoticComponent<TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;