mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
allow tooltip prop of IconButton to be a ReactNode | string
This commit is contained in:
Vendored
+2
-2
@@ -536,7 +536,7 @@ declare namespace __MaterialUI {
|
||||
type horizontal = 'left' | 'middle' | 'right';
|
||||
type vertical = 'top' | 'center' | 'bottom';
|
||||
type direction = 'left' | 'right' | 'up' | 'down';
|
||||
|
||||
|
||||
interface origin {
|
||||
horizontal: horizontal;
|
||||
vertical: vertical;
|
||||
@@ -745,7 +745,7 @@ declare namespace __MaterialUI {
|
||||
onMouseLeave?: React.MouseEventHandler;
|
||||
onMouseOut?: React.MouseEventHandler;
|
||||
style?: React.CSSProperties;
|
||||
tooltip?: string;
|
||||
tooltip?: React.ReactNode | string;
|
||||
tooltipPosition?: propTypes.cornersAndCenter;
|
||||
tooltipStyles?: React.CSSProperties;
|
||||
touch?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user