mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-17 07:31:00 +08:00
Extend HTMLAttributes
This commit is contained in:
parent
dbd3fbfb95
commit
246f1e0916
@ -81,8 +81,8 @@ const splitObject = (obj: any, keys: string[]) => {
|
|||||||
return { picked, omitted };
|
return { picked, omitted };
|
||||||
};
|
};
|
||||||
|
|
||||||
class Tooltip extends React.Component<TooltipProps, any> {
|
class Tooltip extends React.Component<TooltipProps & React.HTMLAttributes<HTMLElement>, any> {
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
placement: 'top' as TooltipPlacement,
|
placement: 'top' as TooltipPlacement,
|
||||||
transitionName: 'zoom-big-fast',
|
transitionName: 'zoom-big-fast',
|
||||||
mouseEnterDelay: 0.1,
|
mouseEnterDelay: 0.1,
|
||||||
|
Loading…
Reference in New Issue
Block a user