mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
allow tooltip prop of IconButton to be a ReactNode | string
This commit is contained in:
parent
084e559166
commit
305bef7e2d
4
material-ui/material-ui.d.ts
vendored
4
material-ui/material-ui.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user