UNPKG

@rws-air/webcomponents

Version:
22 lines 831 B
import { TooltipProps as MUITooltipProps } from '@mui/material/Tooltip'; import React from 'react'; export interface TooltipProps extends MUITooltipProps { /** Data-qa tag to apply to the tooltip */ 'data-qa'?: string; /** Custom CSS classes to pass to the tooltip */ customclasses?: string | string[]; } /** * Constructs a tooltip using pre-defined Rijkswaterstaat styling * @param param Props to pass to the Tooltip * @example * ```jsx * <Tooltip title='Tooltip Content' placement='top'> * <IconButton> * <CloudDownload color='primary' /> * </IconButton> * </Tooltip> * ``` */ export declare const Tooltip: React.MemoExoticComponent<({ "data-qa": qaTag, title, placement, enterDelay, customclasses, style, children, ...props }: TooltipProps) => JSX.Element>; //# sourceMappingURL=index.d.ts.map