UNPKG

1.53 kBTypeScriptView Raw
1export interface TooltipClasses {
2 /** Styles applied to the Popper component. */
3 popper: string;
4 /** Styles applied to the Popper component unless `disableInteractive={true}`. */
5 popperInteractive: string;
6 /** Styles applied to the Popper component if `arrow={true}`. */
7 popperArrow: string;
8 /** Styles applied to the Popper component unless the tooltip is open. */
9 popperClose: string;
10 /** Styles applied to the tooltip (label wrapper) element. */
11 tooltip: string;
12 /** Styles applied to the tooltip (label wrapper) element if `arrow={true}`. */
13 tooltipArrow: string;
14 /** Styles applied to the arrow element. */
15 arrow: string;
16 /** Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */
17 touch: string;
18 /** Styles applied to the tooltip (label wrapper) element if `placement` contains "left". */
19 tooltipPlacementLeft: string;
20 /** Styles applied to the tooltip (label wrapper) element if `placement` contains "right". */
21 tooltipPlacementRight: string;
22 /** Styles applied to the tooltip (label wrapper) element if `placement` contains "top". */
23 tooltipPlacementTop: string;
24 /** Styles applied to the tooltip (label wrapper) element if `placement` contains "bottom". */
25 tooltipPlacementBottom: string;
26}
27export type TooltipClassKey = keyof TooltipClasses;
28export declare function getTooltipUtilityClass(slot: string): string;
29declare const tooltipClasses: TooltipClasses;
30export default tooltipClasses;