mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #15118 from gordienkotolik/patch-2
material-ui definition for Tooltip component fix
This commit is contained in:
Vendored
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user