Merge pull request #15118 from gordienkotolik/patch-2

material-ui definition for Tooltip component fix
This commit is contained in:
Paul van Brenk
2017-03-22 15:47:08 -07:00
committed by GitHub
+2 -1
View File
@@ -522,6 +522,7 @@ declare namespace __MaterialUI {
namespace propTypes {
type horizontal = 'left' | 'middle' | 'right';
type tooltipHorizontal = 'left' | 'center' | 'right';
type vertical = 'top' | 'center' | 'bottom';
type direction = 'left' | 'right' | 'up' | 'down';
@@ -8689,7 +8690,7 @@ declare module 'material-ui/internal/SlideInChild' {
declare module 'material-ui/internal/Tooltip' {
interface TooltipProps extends React.Props<Tooltip> {
className?: string;
horizontalPosition?: __MaterialUI.propTypes.horizontal;
horizontalPosition?: __MaterialUI.propTypes.tooltipHorizontal;
label: any;
show?: boolean;
style?: React.CSSProperties;