allow tooltip prop of IconButton to be a ReactNode | string

This commit is contained in:
Bez Reyhan 2016-09-02 12:38:19 -07:00
parent 084e559166
commit 305bef7e2d

View File

@ -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;