@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
30 lines • 1.48 kB
TypeScript
export interface TooltipClasses {
/** Styles applied to the Popper component. */
popper: string;
/** Styles applied to the Popper component unless `disableInteractive={true}`. */
popperInteractive: string;
/** Styles applied to the Popper component if `arrow={true}`. */
popperArrow: string;
/** Styles applied to the Popper component unless the tooltip is open. */
popperClose: string;
/** Styles applied to the tooltip (label wrapper) element. */
tooltip: string;
/** Styles applied to the tooltip (label wrapper) element if `arrow={true}`. */
tooltipArrow: string;
/** Styles applied to the arrow element. */
arrow: string;
/** Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */
touch: string;
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "left". */
tooltipPlacementLeft: string;
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "right". */
tooltipPlacementRight: string;
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "top". */
tooltipPlacementTop: string;
/** Styles applied to the tooltip (label wrapper) element if `placement` contains "bottom". */
tooltipPlacementBottom: string;
}
export type TooltipClassKey = keyof TooltipClasses;
export declare function getTooltipUtilityClass(slot: string): string;
declare const tooltipClasses: TooltipClasses;
export default tooltipClasses;